kalle           Fri May 22 19:41:03 2009 UTC

  Modified files:              
    /php-src/ext/sqlite3        config.w32 
  Log:
  Don't build SQLite threadsafe on NTS builds
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite3/config.w32?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/sqlite3/config.w32
diff -u php-src/ext/sqlite3/config.w32:1.3 php-src/ext/sqlite3/config.w32:1.4
--- php-src/ext/sqlite3/config.w32:1.3  Tue Aug  5 20:22:53 2008
+++ php-src/ext/sqlite3/config.w32      Fri May 22 19:41:03 2009
@@ -1,10 +1,10 @@
-// $Id: config.w32,v 1.3 2008/08/05 20:22:53 auroraeosrose Exp $
+// $Id: config.w32,v 1.4 2009/05/22 19:41:03 kalle Exp $
 // vim:ft=javascript
 
 ARG_WITH("sqlite3", "SQLite 3 support", "no");
 
 if (PHP_SQLITE3 != "no") {
-       ADD_FLAG("CFLAGS_SQLITE3", "/D SQLITE_THREADSAFE=1 /D 
SQLITE_ENABLE_FTS3=1 /D SQLITE_CORE=1 ");
+       ADD_FLAG("CFLAGS_SQLITE3", "/D SQLITE_THREADSAFE=" + (PHP_ZTS ? "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");



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to