diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2014-09-06 21:59:03 -0700 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2014-09-06 21:59:03 -0700 |
commit | a0d37149dc7a51e8122ae666783333cde321bc44 (patch) | |
tree | 73e80d1f23a38af2c17bc104a465442f495a6ac3 | |
parent | d8a2950f5409ee399c386b56301d49c61ee71fdf (diff) | |
download | libusb-a0d37149dc7a51e8122ae666783333cde321bc44.tar.gz |
threads_posix: Fix compiler warning due to redefinition of _GNU_SOURCE
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
-rw-r--r-- | libusb/os/threads_posix.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 <config.h> #if defined(__linux__) || defined(__OpenBSD__) -# if defined(__linux__) -# define _GNU_SOURCE -# else +# if defined(__OpenBSD__) # define _BSD_SOURCE # endif # include <unistd.h> |