diff options
author | mistachkin <mistachkin@noemail.net> | 2014-09-20 00:02:23 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2014-09-20 00:02:23 +0000 |
commit | 33ac4c8bf5de82ab0e496b1da86fc1f1d1ba8f3f (patch) | |
tree | 2fe530643b2fb1040f25092030a68f24dddc6ee6 /src/sqliteInt.h | |
parent | e7a3466458a175a88fa82c64c7a432825622c1d8 (diff) | |
download | sqlite-33ac4c8bf5de82ab0e496b1da86fc1f1d1ba8f3f.tar.gz sqlite-33ac4c8bf5de82ab0e496b1da86fc1f1d1ba8f3f.zip |
Revise macro usage in 'sqliteInt.h'.
FossilOrigin-Name: 35db3e2f350ca2bc6bb9e1a647aec7f93bfb7065
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 92efd9c08..75cfeefa0 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -47,6 +47,15 @@ # define _LARGEFILE_SOURCE 1 #endif +/* Needed for various definitions... */ +#if defined(__GNUC__) && !defined(_GNU_SOURCE) +# define _GNU_SOURCE +#endif + +#if defined(__OpenBSD__) && !defined(_BSD_SOURCE) +# define _BSD_SOURCE +#endif + /* ** For MinGW, check to see if we can include the header file containing its ** version information, among other things. Normally, this internal MinGW @@ -104,15 +113,6 @@ #pragma warn -spa /* Suspicious pointer arithmetic */ #endif -/* Needed for various definitions... */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE -#endif - -#if defined(__OpenBSD__) && !defined(_BSD_SOURCE) -# define _BSD_SOURCE -#endif - /* ** Include standard header files as necessary */ |