]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests: revert to _XOPEN_SOURCE=500 on Linux
authorMarek Vavruša <marek.vavrusa@nic.cz>
Sat, 3 Jan 2015 23:03:14 +0000 (00:03 +0100)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Sat, 3 Jan 2015 23:03:14 +0000 (00:03 +0100)
tests/test.h

index 948ea3156d11f55d5ca13fe3a86f7f2a4d933c02..e83d4e07e7d7249bdba3d299d8c52191e526234c 100644 (file)
@@ -16,7 +16,9 @@
 
 #pragma once
 
-#define _BSD_SOURCE
+#ifdef __linux__
+#define _XOPEN_SOURCE 500
+#endif
 
 #include <stdlib.h>
 #include <stdarg.h>