SDL_hidapi.c: work-around watcom build error when libusb is enabled
(cherry picked from commit 6a10309568)
This commit is contained in:
1 parent
c084e647ed
commit
275c94c900
1 file changed
+2
-2
@@ -906,9 +906,9 @@ IsInWhitelist(Uint16 vendor, Uint16 product)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_PLATFORM_BACKEND) || HAVE_DRIVER_BACKEND
|
#if defined(HAVE_PLATFORM_BACKEND) || HAVE_DRIVER_BACKEND
|
||||||
static const SDL_bool use_libusb_whitelist_default = SDL_TRUE;
|
#define use_libusb_whitelist_default SDL_TRUE
|
||||||
#else
|
#else
|
||||||
static const SDL_bool use_libusb_whitelist_default = SDL_FALSE;
|
#define use_libusb_whitelist_default SDL_FALSE
|
||||||
#endif /* HAVE_PLATFORM_BACKEND || HAVE_DRIVER_BACKEND */
|
#endif /* HAVE_PLATFORM_BACKEND || HAVE_DRIVER_BACKEND */
|
||||||
static SDL_bool use_libusb_whitelist = use_libusb_whitelist_default;
|
static SDL_bool use_libusb_whitelist = use_libusb_whitelist_default;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user