Clean-up: fix '-Wundef' warnings on various platforms
[lttng-tools.git] / tests / utils / tap / tap.h
index bba1ceadc0889f1ab886081207e7414e65f5a5e6..bc6745a73862040006ab51712ff48ade74d628bb 100644 (file)
@@ -32,7 +32,7 @@ extern "C" {
                        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__) :                         \
This page took 0.023531 seconds and 4 git commands to generate.