summaryrefslogtreecommitdiff
path: root/bin/bbstored
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-12-30 14:54:55 +0000
committerChris Wilson <chris+github@qwirx.com>2008-12-30 14:54:55 +0000
commitf5a529cfd4a9f1920c0b1d75375258dab2d71be1 (patch)
tree83028df92c92eae6557bf6bfecb943a8ca9c8df9 /bin/bbstored
parenta5400afe73492cbb8e0049a7facb2b32f0fcad04 (diff)
Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as
well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
Diffstat (limited to 'bin/bbstored')
-rw-r--r--bin/bbstored/BackupStoreContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bbstored/BackupStoreContext.cpp b/bin/bbstored/BackupStoreContext.cpp
index f8108beb..990be05d 100644
--- a/bin/bbstored/BackupStoreContext.cpp
+++ b/bin/bbstored/BackupStoreContext.cpp
@@ -33,7 +33,7 @@
// Maximum number of directories to keep in the cache
// When the cache is bigger than this, everything gets
// deleted.
-#ifdef NDEBUG
+#ifdef BOX_RELEASE_BUILD
#define MAX_CACHE_SIZE 32
#else
#define MAX_CACHE_SIZE 2