Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
libusb-1_0.24379
libusb-bsc1178376-ppc-linux-flag.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libusb-bsc1178376-ppc-linux-flag.patch of Package libusb-1_0.24379
commit e59e437a1fed20c2e363154b6e9639b88f549bd7 Author: Adrian Bunk <bunk@debian.org> Date: Sun Jun 18 22:45:54 2017 +0200 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> NOTE: The diff of libusb/version_nano.h is removed to fit 1.0.21. diff --git a/libusb/libusb.h b/libusb/libusb.h index c562690..f0f6d71 100644 --- a/libusb/libusb.h +++ b/libusb/libusb.h @@ -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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor