summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-04-22 23:22:53 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-04-22 23:22:53 +0000
commit03988b1e0e3824273e7e53222d84dfadb00da708 (patch)
tree7bd407045f22fe32d5ccfc7e1002e8dccc3c6f7f
parentac57b51860cb142956dfe985f36767eddb52d797 (diff)
add missing defines, crucial: -DSQLITE_CORE
used while compiling extensions which are actually a part of the core, prevents segfaults because extensions have not been loaded...
-rw-r--r--lib/libsqlite3/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libsqlite3/Makefile b/lib/libsqlite3/Makefile
index 3bff09bd03b..01506e7091d 100644
--- a/lib/libsqlite3/Makefile
+++ b/lib/libsqlite3/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2012/04/22 23:21:34 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2012/04/22 23:22:52 espie Exp $
.include <bsd.own.mk>
@@ -46,6 +46,9 @@ CPPFLAGS += $(FEATURE_FLAGS) -DSQLITE_THREADSAFE=1 \
-DHAVE_LOCALTIME_R \
-DSQLITE_TEMP_STORE=1 \
-DSQLITE_SOUNDEX=1 \
+ -DSQLITE_HAVE_ISNAN=1 \
+ -DSQLITE_OS_UNIX=1 \
+ -DSQLITE_CORE \
-DHAVE_UINT32_T=1 -DHAVE_UINT16_T=1 -DHAVE_INT16_T=1 \
-DHAVE_UINT8_T=1 -DHAVE_INT8_T=1