mirror of
https://github.com/RPCS3/libusb.git
synced 2026-07-19 12:54:36 -04:00
libusb.h: use __linux__ instead of __linux
The check was added since sys/time.h is not available on Windows, but breaks on PowerPC where __linux is not defined by GCC in strict standards modes. Signed-off-by: Adrian Bunk <bunk@debian.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
committed by
Ludovic Rousseau
parent
448eb4e38e
commit
e59e437a1f
+1
-1
@@ -54,7 +54,7 @@ typedef unsigned __int32 uint32_t;
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#if defined(__linux) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__HAIKU__)
|
||||
#if defined(__linux__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__HAIKU__)
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define LIBUSB_NANO 11202
|
||||
#define LIBUSB_NANO 11203
|
||||
|
||||
Reference in New Issue
Block a user