Skip to content

Commit aee20e6

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: use AC_DEFINE + win32
2 parents 21c6ba3 + 159e5c1 commit aee20e6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ext/sqlite3/config.w32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ if (PHP_SQLITE3 != "no") {
1010
ADD_SOURCES(configure_module_dirname + "/libsqlite", "sqlite3.c", "sqlite3");
1111

1212
AC_DEFINE("HAVE_SQLITE3", 1, "SQLite support");
13+
AC_DEFINE("HAVE_SQLITE3_ERRSTR", 1, "have sqlite3_errstr function")
1314
PHP_INSTALL_HEADERS("ext/sqlite3", "libsqlite/sqlite3.h");
1415
}

ext/sqlite3/config0.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ if test $PHP_SQLITE3 != "no"; then
7878
debug_flags="-DSQLITE_DEBUG=1"
7979
fi
8080

81-
other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DHAVE_SQLITE3_ERRSTR=1"
81+
other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1"
8282

8383
dnl As long as intl is not shared we can have ICU support
8484
if test "$PHP_INTL" = "yes" && test "$PHP_INTL_SHARED" != "yes"; then
@@ -89,6 +89,7 @@ if test $PHP_SQLITE3 != "no"; then
8989
PHP_INSTALL_HEADERS([ext/sqlite3/libsqlite/sqlite3.h])
9090
fi
9191

92+
AC_DEFINE(HAVE_SQLITE3_ERRSTR, 1, [have sqlite3_errstr function])
9293
AC_DEFINE(HAVE_SQLITE3,1,[ ])
9394

9495
sqlite3_sources="sqlite3.c $sqlite3_extra_sources"

0 commit comments

Comments
 (0)