mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 23:07:45 +08:00
Allow building on really old Linux kernels (thanks @sezero!)
This commit is contained in:
@@ -40,6 +40,7 @@ static const SDL_UDEV_Symbols *udev_ctx = NULL;
|
|||||||
#define udev_unref udev_ctx->udev_unref
|
#define udev_unref udev_ctx->udev_unref
|
||||||
|
|
||||||
#undef HIDAPI_H__
|
#undef HIDAPI_H__
|
||||||
|
#define HIDAPI_ALLOW_BUILD_WORKAROUND_KERNEL_2_6_39
|
||||||
#include "linux/hid.c"
|
#include "linux/hid.c"
|
||||||
#define HAVE_PLATFORM_BACKEND 1
|
#define HAVE_PLATFORM_BACKEND 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user