diff options
author | Chris Robinson <[email protected]> | 2018-11-17 19:52:54 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-17 19:52:54 -0800 |
commit | d10301c209a1194741d442a44cc4c0d819803144 (patch) | |
tree | 455d2093fd6ad5bc261ed208c7b70d44192717ed /common/static_assert.h | |
parent | 1ac41d3ea03aed456a94187bf8e0381eeb4168e6 (diff) |
Remove unused headers and checks
Diffstat (limited to 'common/static_assert.h')
-rw-r--r-- | common/static_assert.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/common/static_assert.h b/common/static_assert.h deleted file mode 100644 index 3a554fb5..00000000 --- a/common/static_assert.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef AL_STATIC_ASSERT_H -#define AL_STATIC_ASSERT_H - -#include <assert.h> - - -#if !defined(static_assert) && !defined(__cplusplus) -#ifdef HAVE_C11_STATIC_ASSERT -#define static_assert _Static_assert -#else -#define CTASTR2(_pre,_post) _pre##_post -#define CTASTR(_pre,_post) CTASTR2(_pre,_post) -#if defined(__COUNTER__) -#define static_assert(_cond, _msg) typedef struct { int CTASTR(static_assert_failed_at_line_,__LINE__) : !!(_cond); } CTASTR(static_assertion_,__COUNTER__) -#else -#define static_assert(_cond, _msg) struct { int CTASTR(static_assert_failed_at_line_,__LINE__) : !!(_cond); } -#endif -#endif -#endif - -#endif /* AL_STATIC_ASSERT_H */ |