diff options
author | 2014-08-20 07:38:46 -0700 | |
---|---|---|
committer | 2014-08-20 07:38:46 -0700 | |
commit | 753b870c62bd22cee3d9a15efc634822724084ac (patch) | |
tree | eac4b0e94cb975daa0ae5c5f49188aab797f58ab /experimental/Intersection/DataTypes.cpp | |
parent | b88813683cb1242ee5d0b6d8f5deb50b39e81e7f (diff) |
Define NDEBUG instead of SK_DEBUG/SK_RELEASE.
This makes our builds more like Chrome's, and will make our builds fail
if we accidentally use if SK_DEBUG instead of ifdef SK_DEBUG.
BUG=skia:
R=mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/481513004
Diffstat (limited to 'experimental/Intersection/DataTypes.cpp')
-rw-r--r-- | experimental/Intersection/DataTypes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/Intersection/DataTypes.cpp b/experimental/Intersection/DataTypes.cpp index a4a3039cd5..3425ea9576 100644 --- a/experimental/Intersection/DataTypes.cpp +++ b/experimental/Intersection/DataTypes.cpp @@ -38,7 +38,7 @@ union Float_t #endif int32_t i; float f; -#if SK_DEBUG +#ifdef SK_DEBUG struct { // Bitfields for exploration. Do not use in production code. uint32_t mantissa : 23; @@ -76,7 +76,7 @@ int UlpsDiff(float A, float B) } #endif -#if SK_DEBUG +#ifdef SK_DEBUG void mathematica_ize(char* str, size_t bufferLen) { size_t len = strlen(str); bool num = false; |