Committed changes for ticket #2909 (CVS 4753)
FossilOrigin-Name: 29ce204dbf2ccd051032f23f175b5c225f209fda
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 9d0ba49..48b3082 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.656 2008/01/25 15:04:50 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.657 2008/01/28 22:09:24 aswift Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -130,7 +130,7 @@
**
** See also ticket #2741.
*/
-#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && SQLITE_THREADSAFE
+#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && SQLITE_THREADSAFE
# define _XOPEN_SOURCE 500 /* Needed to enable pthread recursive mutexes */
#endif