diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-03 05:51:29 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-03 05:51:29 +0200 |
commit | efeb8be52789d9cf5d44138dbf07d5b5c6822e2e (patch) | |
tree | 8c7bf7693cb9a4987ed0ac53f00a18ce08db070d /src/test/test.c | |
parent | fix errors in gamma-x-randr (diff) | |
download | libgamma-efeb8be52789d9cf5d44138dbf07d5b5c6822e2e.tar.gz libgamma-efeb8be52789d9cf5d44138dbf07d5b5c6822e2e.tar.bz2 libgamma-efeb8be52789d9cf5d44138dbf07d5b5c6822e2e.tar.xz |
#warning is a GCC extension
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 30 |
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 |