diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-12-30 14:54:55 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-12-30 14:54:55 +0000 |
commit | f5a529cfd4a9f1920c0b1d75375258dab2d71be1 (patch) | |
tree | 83028df92c92eae6557bf6bfecb943a8ca9c8df9 /lib/raidfile/RaidFileUtil.cpp | |
parent | a5400afe73492cbb8e0049a7facb2b32f0fcad04 (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 'lib/raidfile/RaidFileUtil.cpp')
-rw-r--r-- | lib/raidfile/RaidFileUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/raidfile/RaidFileUtil.cpp b/lib/raidfile/RaidFileUtil.cpp index 84ff2060..079d14d0 100644 --- a/lib/raidfile/RaidFileUtil.cpp +++ b/lib/raidfile/RaidFileUtil.cpp @@ -58,7 +58,7 @@ RaidFileUtil::ExistType RaidFileUtil::RaidFileExists(RaidFileDiscSet &rDiscSet, if(pRevisionID != 0) { (*pRevisionID) = FileModificationTime(st); -#ifdef NDEBUG +#ifdef BOX_RELEASE_BUILD // The resolution of timestamps may be very // low, e.g. 1 second. So add the size to it // to give a bit more chance of it changing. @@ -107,7 +107,7 @@ RaidFileUtil::ExistType RaidFileUtil::RaidFileExists(RaidFileDiscSet &rDiscSet, if(pRevisionID != 0) { (*pRevisionID) = revisionID; -#ifdef NDEBUG +#ifdef BOX_RELEASE_BUILD // The resolution of timestamps may be very low, e.g. // 1 second. So add the size to it to give a bit more // chance of it changing. |