diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_util.c | 1 | ||||
-rw-r--r-- | test/test_value.c | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/test/test_util.c b/test/test_util.c index 8c8f36a..b49b14e 100644 --- a/test/test_util.c +++ b/test/test_util.c @@ -15,6 +15,7 @@ */ #define _XOPEN_SOURCE 600 /* for mkstemp */ +#define __BSD_VISIBLE 1 #undef NDEBUG diff --git a/test/test_value.c b/test/test_value.c index b36737a..82b44b7 100644 --- a/test/test_value.c +++ b/test/test_value.c @@ -72,12 +72,6 @@ main(void) assert(fabs(lilv_node_as_float(fval) - 1.6180) < FLT_EPSILON); assert(isnan(lilv_node_as_float(sval))); -#if defined(__clang__) -# pragma clang diagnostic pop -#elif defined(__GNUC__) && __GNUC__ > 4 -# pragma GCC diagnostic pop -#endif - LilvNode* loc_abs = lilv_new_file_uri(world, NULL, "/foo/bar"); LilvNode* loc_rel = lilv_new_file_uri(world, NULL, "foo"); LilvNode* host_abs = lilv_new_file_uri(world, "host", "/foo/bar"); |