diff options
Diffstat (limited to 'floattypes.h')
-rw-r--r-- | floattypes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/floattypes.h b/floattypes.h index e037b95..fa4cc44 100644 --- a/floattypes.h +++ b/floattypes.h @@ -34,8 +34,9 @@ using namespace std; #ifndef static_assert #define VML_CONCAT2(x, y) x##y #define VML_CONCAT(x, y) VML_CONCAT2(x, y) -#define static_assert(cond, msg) typedef int VML_CONCAT( \ - vml_static_assert_, __LINE__)[(cond) ? 1 : -1] __attribute__((__unused__)) +#define static_assert(cond, msg) \ + typedef int VML_CONCAT(vml_static_assert_, __LINE__)[(cond) ? 1 : -1] \ + __attribute__((__unused__)) #endif // Capture libc macros, then undefine them |