threads_posix: Fix compiler warning due to redefinition of _GNU_SOURCE
authorChris Dickens <christopher.a.dickens@gmail.com>
Sun, 7 Sep 2014 04:59:03 +0000 (21:59 -0700)
committerChris Dickens <christopher.a.dickens@gmail.com>
Sun, 7 Sep 2014 04:59:03 +0000 (21:59 -0700)
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/threads_posix.c

index ec2d19a..e8e87bb 100644 (file)
@@ -22,9 +22,7 @@
 #include <config.h>
 
 #if defined(__linux__) || defined(__OpenBSD__)
-# if defined(__linux__)
-#  define _GNU_SOURCE
-# else
+# if defined(__OpenBSD__)
 #  define _BSD_SOURCE
 # endif
 # include <unistd.h>