X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=tests%2Futils%2Ftap.h;h=e628795efdcb0c87b804110718307f089c140833;hb=67ceba204e9a5bb616f45142acfc5d19812821a3;hp=b3e94450541e203ba38bb9c5b2c3a71fd0869252;hpb=852a2822f40c39ebbb32e4462e9cff2859690d8d;p=lttng-ust.git diff --git a/tests/utils/tap.h b/tests/utils/tap.h index b3e94450..e628795e 100644 --- a/tests/utils/tap.h +++ b/tests/utils/tap.h @@ -28,7 +28,7 @@ skip(n, fmt, ## __VA_ARGS__); \ continue; \ } -#elif __STDC_VERSION__ >= 199901L /* __GNUC__ */ +#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* __GNUC__ */ # define ok(e, ...) ((e) ? \ _gen_result(1, __func__, __FILE__, __LINE__, \ __VA_ARGS__) : \