aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-01 14:55:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-01 14:55:32 +0200
commit50be24988c3f0a802f690196f269114c657500b2 (patch)
treefa954f646137e1897883ba7ad996e35e653f8a71
parent2319d01e262b705716e19474865f555f3ca81a7d (diff)
Fix incorrect identifier
-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);