Commit 9977a836 authored by unknown's avatar unknown

Fix problem with S_ISLNK() on Linux

parent 26c37b5e
......@@ -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