tests: define _GNU_SOURCE instead of __USE_GNU
[urcu.git] / tests / api.h
index c5d716f65f47a861988cc864182f44994f46d4f1..03c370b12d40b94519a33adfc8b55f2f214c1ac3 100644 (file)
@@ -1,7 +1,7 @@
-
 #ifndef _INCLUDE_API_H
 #define _INCLUDE_API_H
 
+#define _GNU_SOURCE
 #include "../config.h"
 
 /*
@@ -64,7 +64,6 @@
 #include <errno.h>
 #include <limits.h>
 #include <sys/types.h>
-#define __USE_GNU
 #include <pthread.h>
 #include <sched.h>
 #include <sys/param.h>
This page took 0.02666 seconds and 4 git commands to generate.