diff options
author | unknown <monty@donna.mysql.com> | 2000-12-16 03:10:13 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-12-16 03:10:13 +0200 |
commit | 9977a8368e8c82b35bed2ed2cde1d29f3ce147c1 (patch) | |
tree | cd8cee3cd8f4e582c67eb22447eba931568bba00 | |
parent | 26c37b5e64e760e8459d3e5de6c5f5e04a26ed0a (diff) | |
download | mariadb-git-9977a8368e8c82b35bed2ed2cde1d29f3ce147c1.tar.gz |
Fix problem with S_ISLNK() on Linux
-rw-r--r-- | include/global.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/global.h b/include/global.h index 5975db9e2a6..f012d2744fd 100644 --- a/include/global.h +++ b/include/global.h @@ -39,6 +39,11 @@ #endif #endif /* _cplusplus */ +/* Fix problem with S_ISLNK() on Linux */ +#if defined(HAVE_LINUXTHREADS) +#define _GNU_SOURCE 1 +#endif + /* The client defines this to avoid all thread code */ #if defined(UNDEF_THREADS_HACK) #undef THREAD @@ -56,9 +61,6 @@ #ifndef __STDC_EXT__ #define __STDC_EXT__ 1 /* To get large file support on hpux */ #endif -#if defined(HAVE_LINUXTHREADS) -#define _GNU_SOURCE 1 -#endif #if defined(THREAD) && !defined(__WIN__) #ifndef _POSIX_PTHREAD_SEMANTICS |