diff options
author | David Robillard <d@drobilla.net> | 2020-12-18 11:22:47 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-18 11:22:47 +0100 |
commit | b43d80ff1c9169c9ef4ea46e876edfbfa3eff15e (patch) | |
tree | 8623b6e793fbee660cd5d227cbc875a86de40d11 | |
parent | 3ed25ad0cc8dac9d431b591f3bd9c1a848ab2b39 (diff) | |
download | lilv-b43d80ff1c9169c9ef4ea46e876edfbfa3eff15e.tar.gz lilv-b43d80ff1c9169c9ef4ea46e876edfbfa3eff15e.tar.bz2 lilv-b43d80ff1c9169c9ef4ea46e876edfbfa3eff15e.zip |
Fix build with ancient GCC
-rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,14 +90,14 @@ lilv_strdup(const char* str) const char* lilv_uri_to_path(const char* uri) { -#ifdef __GNUC__ +#if defined(__GNUC__) && __GNUC__ > 4 # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif return (const char*)serd_uri_to_path((const uint8_t*)uri); -#ifdef __GNUC__ +#if defined(__GNUC__) && __GNUC__ > 4 # pragma GCC diagnostic pop #endif } |