From: Kalle Sommer Nielsen Date: Fri, 22 May 2009 19:46:53 +0000 (+0000) Subject: Previous commit was an old version of the patch, PHP_ZTS is not a boolean but the... X-Git-Tag: php-5.4.0alpha1~191^2~3562 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a831a736d06baa34bdf44cff5420130899f7201a;p=php Previous commit was an old version of the patch, PHP_ZTS is not a boolean but the behaviour is still correct --- diff --git a/ext/sqlite3/config.w32 b/ext/sqlite3/config.w32 index d457ac7c5d..271a0c8247 100644 --- a/ext/sqlite3/config.w32 +++ b/ext/sqlite3/config.w32 @@ -4,7 +4,7 @@ ARG_WITH("sqlite3", "SQLite 3 support", "no"); if (PHP_SQLITE3 != "no") { - ADD_FLAG("CFLAGS_SQLITE3", "/D SQLITE_THREADSAFE=" + (PHP_ZTS ? "1" : "0") + " /D SQLITE_ENABLE_FTS3=1 /D SQLITE_CORE=1 "); + ADD_FLAG("CFLAGS_SQLITE3", "/D SQLITE_THREADSAFE=" + (PHP_ZTS == "yes" ? "1" : "0") + " /D SQLITE_ENABLE_FTS3=1 /D SQLITE_CORE=1 "); EXTENSION("sqlite3", "sqlite3.c", null, "/I" + configure_module_dirname + "/libsqlite /I" + configure_module_dirname); ADD_SOURCES(configure_module_dirname + "/libsqlite", "sqlite3.c", "sqlite3");