Loading include/my_global.h +8 −0 Original line number Diff line number Diff line Loading @@ -107,6 +107,14 @@ #define _GNU_SOURCE 1 #endif /* Temporary solution to solve bug#7156. Include "sys/types.h" before the thread headers, else the function madvise() will not be defined */ #if defined(HAVE_SYS_TYPES_H) && ( defined(sun) || defined(__sun) ) #include <sys/types.h> #endif /* The client defines this to avoid all thread code */ #if defined(UNDEF_THREADS_HACK) #undef THREAD Loading Loading
include/my_global.h +8 −0 Original line number Diff line number Diff line Loading @@ -107,6 +107,14 @@ #define _GNU_SOURCE 1 #endif /* Temporary solution to solve bug#7156. Include "sys/types.h" before the thread headers, else the function madvise() will not be defined */ #if defined(HAVE_SYS_TYPES_H) && ( defined(sun) || defined(__sun) ) #include <sys/types.h> #endif /* The client defines this to avoid all thread code */ #if defined(UNDEF_THREADS_HACK) #undef THREAD Loading