diff options
author | 2012-04-22 23:22:52 +0000 | |
---|---|---|
committer | 2012-04-22 23:22:52 +0000 | |
commit | f9cd963a965a7fad44c36ba332af859cabc95209 (patch) | |
tree | 18eb52ee3c9dca3ad008ca8779dc383b71993150 | |
parent | regen all files we can, prepare stuff to make sure it works even without (diff) | |
download | wireguard-openbsd-f9cd963a965a7fad44c36ba332af859cabc95209.tar.xz wireguard-openbsd-f9cd963a965a7fad44c36ba332af859cabc95209.zip |
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/Makefile | 5 |
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 |