summaryrefslogtreecommitdiff
path: root/ext/sqlite/libsqlite/src/os.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-07-10 12:27:51 +0000
committerWez Furlong <wez@php.net>2004-07-10 12:27:51 +0000
commite563b4eafa63ba8beb88defa1e36f037a7a97a60 (patch)
tree2e72dfa1c4b7fe62fde9ab326a67047ba2f4cc9e /ext/sqlite/libsqlite/src/os.h
parentcd732f1a3f5df97407797fe7ebb97830552479ad (diff)
downloadphp-git-e563b4eafa63ba8beb88defa1e36f037a7a97a60.tar.gz
Upgrade bundled library to 2.8.14 + misc fixes
(http://www.sqlite.org/cvstrac/chngview?cn=1742)
Diffstat (limited to 'ext/sqlite/libsqlite/src/os.h')
-rw-r--r--ext/sqlite/libsqlite/src/os.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/sqlite/libsqlite/src/os.h b/ext/sqlite/libsqlite/src/os.h
index 681f831b66..d1395841d2 100644
--- a/ext/sqlite/libsqlite/src/os.h
+++ b/ext/sqlite/libsqlite/src/os.h
@@ -39,7 +39,9 @@
*/
#ifndef SQLITE_DISABLE_LFS
# define _LARGE_FILE 1
-# define _FILE_OFFSET_BITS 64
+# ifndef _FILE_OFFSET_BITS
+# define _FILE_OFFSET_BITS 64
+# endif
# define _LARGEFILE_SOURCE 1
#endif
@@ -118,9 +120,6 @@
#endif
#if OS_WIN
-# if defined(__CYGWIN__)
-# define __CYGWIN_USE_BIG_TYPES__
-# endif
#include <windows.h>
#include <winbase.h>
typedef struct OsFile OsFile;