diff options
Diffstat (limited to 'third_party/tcmalloc/chromium/src/internal_logging.h')
-rw-r--r-- | third_party/tcmalloc/chromium/src/internal_logging.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/tcmalloc/chromium/src/internal_logging.h b/third_party/tcmalloc/chromium/src/internal_logging.h index 0cb9ba2..731b2d9 100644 --- a/third_party/tcmalloc/chromium/src/internal_logging.h +++ b/third_party/tcmalloc/chromium/src/internal_logging.h @@ -119,7 +119,9 @@ do { \ #ifndef NDEBUG #define ASSERT(cond) CHECK_CONDITION(cond) #else -#define ASSERT(cond) ((void) 0) +#define ASSERT(cond) \ + do { \ + } while (0 && (cond)) #endif // Print into buffer |