Browse Source

try to work with gcc 8.3, too

master
Felix von Leitner 2 years ago
parent
commit
c0b851da69
  1. 6
      compiletimeassert.h

6
compiletimeassert.h

@ -1,8 +1,12 @@
#if __STDC_VERSION__ >= 201112L
#if __STDC_VERSION__ >= 201710L
#define compiletimeassert(cond) _Static_assert(cond)
#elif __STDC_VERSION__ >= 201112L
#define compiletimeassert(cond) _Static_assert(cond,"")
#else
#define __X(x, y) x ## y

Loading…
Cancel
Save