diff options
Diffstat (limited to 'lilv')
-rw-r--r-- | lilv/lilv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h index 6ce93d0..58d00dc 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -46,7 +46,8 @@ #else # define LILV_API #endif -#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) +#if defined(__GNUC__) && (__GNUC__ > 3 || \ + (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) # define LILV_DEPRECATED __attribute__((__deprecated__)) #else # define LILV_DEPRECATED |