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

Fix problem with S_ISLNK() on Linux

parent 2803bcd8
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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