mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +00:00
8c95516224
- updaterevision for automated revision string generation - re2c as a prerequisite to use sc_man in the future - zipdir to automatically generate an engine resource file.
14 lines
307 B
C++
14 lines
307 B
C++
#ifndef _RE2C_UTIL_STATIC_ASSERT_
|
|
#define _RE2C_UTIL_STATIC_ASSERT_
|
|
|
|
namespace re2c {
|
|
|
|
template<bool> struct static_assert_t;
|
|
template<> struct static_assert_t<true> {};
|
|
|
|
} // namespace re2c
|
|
|
|
#define RE2C_STATIC_ASSERT(e) \
|
|
{ re2c::static_assert_t<e> _; (void) _; }
|
|
|
|
#endif // _RE2C_UTIL_STATIC_ASSERT_
|