diff options
Diffstat (limited to 'lib/libspl/include/assert.h')
-rw-r--r-- | lib/libspl/include/assert.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libspl/include/assert.h b/lib/libspl/include/assert.h index e129ef7df..fb964042b 100644 --- a/lib/libspl/include/assert.h +++ b/lib/libspl/include/assert.h @@ -111,14 +111,6 @@ do { \ #undef assert #endif -/* Compile time assert */ -#define CTASSERT_GLOBAL(x) _CTASSERT(x, __LINE__) -#define CTASSERT(x) { _CTASSERT(x, __LINE__); } -#define _CTASSERT(x, y) __CTASSERT(x, y) -#define __CTASSERT(x, y) \ - typedef char __attribute__((unused)) \ - __compile_time_assertion__ ## y[(x) ? 1 : -1] - #ifdef NDEBUG #define ASSERT3B(x, y, z) \ ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) |