summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-02-22 16:47:19 -0800
committerLei Zhang <thestig@chromium.org>2016-02-22 16:47:19 -0800
commite4ac3369dc7bb1d0ae913404f008aea1fcd92480 (patch)
tree29d21185232c7eaedeacdcafc23080b2152684d5 /fpdfsdk/src
parentbd7820c536908801e49ea83a6ca73279cc07f5cd (diff)
downloadpdfium-e4ac3369dc7bb1d0ae913404f008aea1fcd92480.tar.xz
Switch from _DEBUG to NDEBUG.
- NDEBUG is more widely used in Chromium - _DEBUG is not defined on Mac in Chromium - Leaving _DEBUG in for standalone debug builds for the benefit of third party libraries / Windows. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1721073004 .
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/javascript/global.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/javascript/global.cpp b/fpdfsdk/src/javascript/global.cpp
index 32995ffbb1..e464339176 100644
--- a/fpdfsdk/src/javascript/global.cpp
+++ b/fpdfsdk/src/javascript/global.cpp
@@ -57,7 +57,7 @@ static unsigned JS_CalcHash(const wchar_t* main) {
return (unsigned)FX_HashCode_String_GetW(main, FXSYS_wcslen(main));
}
-#ifdef _DEBUG
+#ifndef NDEBUG
class HashVerify {
public:
HashVerify();