solaris want's _XOPEN_SOURCE set to 600, From Ragnar Sundblad

This commit is contained in:
Love Hornquist Astrand
2011-09-29 13:57:24 +02:00
parent 240b298e61
commit a1738def66

View File

@@ -431,8 +431,12 @@
** See also ticket #2741. ** See also ticket #2741.
*/ */
#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && SQLITE_THREADSAFE #if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && SQLITE_THREADSAFE
#ifdef __sun
# define _XOPEN_SOURCE 600
#else
# define _XOPEN_SOURCE 500 /* Needed to enable pthread recursive mutexes */ # define _XOPEN_SOURCE 500 /* Needed to enable pthread recursive mutexes */
#endif #endif
#endif
/* /*
** The TCL headers are only needed when compiling the TCL bindings. ** The TCL headers are only needed when compiling the TCL bindings.