Skip to content

Instantly share code, notes, and snippets.

@KalleZ
Last active August 3, 2017 14:19
Show Gist options
  • Save KalleZ/bd6407545df7b6c7e11939a14aad7716 to your computer and use it in GitHub Desktop.
Save KalleZ/bd6407545df7b6c7e11939a14aad7716 to your computer and use it in GitHub Desktop.
diff --git a/ext/sqlite3/config.w32 b/ext/sqlite3/config.w32
index 29a2832..b5ca2fb 100644
--- a/ext/sqlite3/config.w32
+++ b/ext/sqlite3/config.w32
@@ -10,5 +10,7 @@ if (PHP_SQLITE3 != "no") {
ADD_SOURCES(configure_module_dirname + "/libsqlite", "sqlite3.c", "sqlite3");
AC_DEFINE("HAVE_SQLITE3", 1, "SQLite support");
+ AC_DEFINE("HAVE_SQLITE3_ERRSTR", 1, "Have sqlite3_errstr");
+ AC_DEFINE("HAVE_SQLITE3_CLOSE_V2", 1, "Have sqlite3_close_v2");
PHP_INSTALL_HEADERS("ext/sqlite3", "libsqlite/sqlite3.h");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment