diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/assert.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/assert.h b/include/assert.h index 8fdc2fe..9bf3bdf 100644 --- a/include/assert.h +++ b/include/assert.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Richard Braun. + * Copyright (c) 2010-2017 Richard Braun. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ #define static_assert _Static_assert #ifdef NDEBUG -#define assert(expression) ((void)(expression)) +#define assert(expression) #else /* NDEBUG */ #include <kern/macros.h> |