Define _GNU_SOURCE only if it is not already defined. Ticket #3263. (CVS 5514)
FossilOrigin-Name: bc5abd31a7b5bc656edbb54c1c4523549d888056
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 518fa76..1551183 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.747 2008/07/28 19:34:54 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.748 2008/07/31 17:35:45 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -36,7 +36,9 @@
#endif
/* Needed for various definitions... */
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
/*
** Include standard header files as necessary