diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 21:32:35 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 21:32:35 -0400 |
| commit | 3946c490f6d410f91c08884aae912faec70f1e34 (patch) | |
| tree | 897f5f9962c7eb5c223a77dde09fd29353aeeee0 /src | |
| parent | 7a208499d853c980cf031c12da9404ba66d12294 (diff) | |
prevent double definition of NDEBUG
Diffstat (limited to 'src')
| -rw-r--r-- | src/_assert.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/_assert.h b/src/_assert.h index 7dbafed9..0da010ab 100644 --- a/src/_assert.h +++ b/src/_assert.h @@ -1,7 +1,9 @@ #ifndef ___ASSERT_H__ #define ___ASSERT_H__ +#ifndef NDEBUG #define NDEBUG +#endif #ifndef NDEBUG #define ASSERT_NONNULL(__ptr) do { \ |
