Commit 96f5b4f4 authored by monty@donna.mysql.com's avatar monty@donna.mysql.com

Fix problem with S_ISLNK() on Linux

parent 2803bcd8
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment