aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbpkg/odb.sh2
-rw-r--r--bpkg/package.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/odb.sh b/bpkg/odb.sh
index 776cccb..b1d8787 100755
--- a/bpkg/odb.sh
+++ b/bpkg/odb.sh
@@ -11,7 +11,7 @@ lib="\
$odb $lib -I.. -I../../libbpkg -I../../libbutl \
-DLIBODB_BUILD2 -DLIBODB_SQLITE_BUILD2 --generate-schema \
- -d sqlite --std c++11 --hxx-suffix ".hxx" --generate-query \
+ -d sqlite --std c++11 --generate-query \
--odb-epilogue '#include <bpkg/wrapper-traits.hxx>' \
--hxx-prologue '#include <bpkg/wrapper-traits.hxx>' \
--include-with-brackets --include-prefix bpkg --guard-prefix BPKG \
diff --git a/bpkg/package.hxx b/bpkg/package.hxx
index bd45e9c..2a68d7c 100644
--- a/bpkg/package.hxx
+++ b/bpkg/package.hxx
@@ -103,7 +103,7 @@ namespace bpkg
// appear after all #include directives since the assert() macro is
// redefined in each <assert.h> inclusion.
//
-#ifdef ODB_COMPILER_HXX
+#ifdef ODB_COMPILER
# undef assert
# define assert assert
void assert (int);