From 3b8a3bf458e920c1cff533db72e17ecc7b09c36d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Apr 2019 10:53:31 +0200 Subject: Fix test bundle URI on Windows --- lilv/lilv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lilv') 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 -- cgit v1.2.1