diff options
author | drh <drh@noemail.net> | 2007-08-25 14:39:45 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2007-08-25 14:39:45 +0000 |
commit | 058897a92e22baf055595ab4239972cf5bcd926d (patch) | |
tree | 7f7eff8a67083d6a5e116fd31a263d0d0bc7bf32 /src/sqliteInt.h | |
parent | 222a757dbad4a7b72d9b425ea2c4db05eafe52cd (diff) | |
download | sqlite-058897a92e22baf055595ab4239972cf5bcd926d.tar.gz sqlite-058897a92e22baf055595ab4239972cf5bcd926d.zip |
Use recursive mutexes in pthreads. If the pthreads implementation does not
support recursive mutexes, then you cannot compile SQLite with
SQLITE_THREADSAFE=1. Ticket #2588. (CVS 4297)
FossilOrigin-Name: 1668284d151e78d16b0d83bf55dfd9d349a452a7
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 171919940..7e0c59f6a 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,12 +11,13 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.599 2007/08/24 08:15:54 danielk1977 Exp $ +** @(#) $Id: sqliteInt.h,v 1.600 2007/08/25 14:39:46 drh Exp $ */ #ifndef _SQLITEINT_H_ #define _SQLITEINT_H_ #include "sqliteLimit.h" +#define _XOPEN_SOURCE 500 /* Needed to enable pthread recursive mutexes */ #if defined(SQLITE_TCL) || defined(TCLSH) # include <tcl.h> |