diff options
| author | Kacper Fiedorowicz <kf@efab.pl> | 2026-01-03 18:44:51 +0100 |
|---|---|---|
| committer | Kacper Fiedorowicz <kf@efab.pl> | 2026-01-03 18:44:51 +0100 |
| commit | 6018e17637264a9561b37be699c3d53b6661de23 (patch) | |
| tree | 8546c9fa94358e7d6daaad5f11ac53e61be97ad5 /include/assert.h | |
| parent | ab21f339a33abb1144f3c0f5c4285324e7e88392 (diff) | |
Diffstat (limited to 'include/assert.h')
| -rw-r--r-- | include/assert.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/assert.h b/include/assert.h index 49550e39..04ec025b 100644 --- a/include/assert.h +++ b/include/assert.h @@ -1,14 +1,11 @@ -#ifndef __ASSERT_H -#define __ASSERT_H +#pragma once #ifdef NDEBUG #define assert(ignore) ((void)0) #else #define assert(__expr) ((__expr) ? (void)0 : __assert(__FILE__, __LINE__, __PRETTY_FUNCTION__, #__expr)) -#endif _Noreturn void __assert(const char *_Nonnull __file, int __line, const char *_Nonnull __func, const char *_Nonnull __expr); - #endif |
