summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-14 10:53:31 +0200
committerDavid Robillard <d@drobilla.net>2019-04-14 11:18:00 +0200
commit3b8a3bf458e920c1cff533db72e17ecc7b09c36d (patch)
tree428c940c0fe9b80009c9df0807f2049435952a19 /lilv
parent41a1a23f81ca279a0d8baf0c85ab97db9e267f9a (diff)
downloadlilv-3b8a3bf458e920c1cff533db72e17ecc7b09c36d.tar.gz
lilv-3b8a3bf458e920c1cff533db72e17ecc7b09c36d.tar.bz2
lilv-3b8a3bf458e920c1cff533db72e17ecc7b09c36d.zip
Fix test bundle URI on Windows
Diffstat (limited to 'lilv')
-rw-r--r--lilv/lilv.h3
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