From 03988b1e0e3824273e7e53222d84dfadb00da708 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sun, 22 Apr 2012 23:22:53 +0000 Subject: 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... --- lib/libsqlite3/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ -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 -- cgit v1.2.3