aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test.c30
1 files changed, 16 insertions, 14 deletions
diff --git a/src/test/test.c b/src/test/test.c
index f5f5c42..4d20aa8 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -23,20 +23,22 @@
#include <string.h>
-#if LIBGAMMA_ERROR_MIN < -46
-# warning New error codes have been added to libgamma.
-#endif
-#if LIBGAMMA_METHOD_COUNT > 6
-# warning New adjust methods has been added to libgamma
-#endif
-#if LIBGAMMA_CONNECTOR_TYPE_COUNT > 19
-# warning New connector types have been added to libgamma.
-#endif
-#if LIBGAMMA_SUBPIXEL_ORDER_COUNT > 6
-# warning New subpixel orders have been added to libgamma.
-#endif
-#if LIBGAMMA_CRTC_INFO_COUNT > 13
-# warning New CRTC information fields have been added to libgamma.
+#ifdef __GNUC__
+# if LIBGAMMA_ERROR_MIN < -46
+# warning New error codes have been added to libgamma.
+# endif
+# if LIBGAMMA_METHOD_COUNT > 6
+# warning New adjust methods has been added to libgamma
+# endif
+# if LIBGAMMA_CONNECTOR_TYPE_COUNT > 19
+# warning New connector types have been added to libgamma.
+# endif
+# if LIBGAMMA_SUBPIXEL_ORDER_COUNT > 6
+# warning New subpixel orders have been added to libgamma.
+# endif
+# if LIBGAMMA_CRTC_INFO_COUNT > 13
+# warning New CRTC information fields have been added to libgamma.
+# endif
#endif