diff options
author | Scott MacVicar <scottmac@php.net> | 2008-10-14 09:56:25 +0000 |
---|---|---|
committer | Scott MacVicar <scottmac@php.net> | 2008-10-14 09:56:25 +0000 |
commit | 3d615717096201643d8be3d9f40a71bdbf9f8160 (patch) | |
tree | 465e7d853976529976016e0b2411cba34950b935 /ext/sqlite3 | |
parent | 347a58939dab697acfb1898472662eec6a5990ba (diff) | |
download | php-git-3d615717096201643d8be3d9f40a71bdbf9f8160.tar.gz |
Disable optimizations at the moment for libsqlite on VC6 with the amalgamation, will most likely need to track down what particular function is causing problems or consider setting the flags to /O1 for libsqlite specifically.
Diffstat (limited to 'ext/sqlite3')
-rw-r--r-- | ext/sqlite3/libsqlite/sqlite3.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/sqlite3/libsqlite/sqlite3.c b/ext/sqlite3/libsqlite/sqlite3.c index af42232200..0e9663e709 100644 --- a/ext/sqlite3/libsqlite/sqlite3.c +++ b/ext/sqlite3/libsqlite/sqlite3.c @@ -1,3 +1,7 @@ +#if defined(_MSC_VER) && _MSC_VER < 1300 +#pragma optimize("", off) +#endif + /****************************************************************************** ** This file is an amalgamation of many separate C source files from SQLite ** version 3.6.2. By combining all the individual C code files into this @@ -96603,3 +96607,7 @@ SQLITE_API int sqlite3_extension_init( #endif /************** End of icu.c *************************************************/ + +#if defined(_MSC_VER) && _MSC_VER < 1300 +#pragma optimize("", on) +#endif |