Compilation: fix MacOsX after c4b27724 09/17309/1
Clément DAVID [Mon, 12 Oct 2015 12:57:11 +0000 (14:57 +0200)]
Change-Id: Iea2b4a28c817de84413afb3e0db67820965e91ce

scilab/modules/dynamic_link/includes/dynamiclibrary_others.h

index f67fec3..120c641 100644 (file)
@@ -12,7 +12,7 @@
  */
 #ifndef __DYNAMICLIBRARY_OTHERS_H__
 #define __DYNAMICLIBRARY_OTHERS_H__
-#ifdef __unix__ // guard against mis-compilation
+#if defined(__APPLE__) || defined(__unix__) // guard against mis-compilation
 
 #include <dlfcn.h>
 #include <wchar.h>