From: Chris Dickens Date: Sun, 7 Sep 2014 04:59:03 +0000 (-0700) Subject: threads_posix: Fix compiler warning due to redefinition of _GNU_SOURCE X-Git-Tag: upstream/1.0.21~239 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0d37149dc7a51e8122ae666783333cde321bc44;p=platform%2Fupstream%2Flibusb.git threads_posix: Fix compiler warning due to redefinition of _GNU_SOURCE Signed-off-by: Chris Dickens --- diff --git a/libusb/os/threads_posix.c b/libusb/os/threads_posix.c index ec2d19a..e8e87bb 100644 --- a/libusb/os/threads_posix.c +++ b/libusb/os/threads_posix.c @@ -22,9 +22,7 @@ #include #if defined(__linux__) || defined(__OpenBSD__) -# if defined(__linux__) -# define _GNU_SOURCE -# else +# if defined(__OpenBSD__) # define _BSD_SOURCE # endif # include