mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-13 23:34:16 +02:00
Fix -Wundef warnings due to use of unguarded __MACOS__
This commit is contained in:
@@ -582,7 +582,7 @@ static const SDL_UDEV_Symbols *udev_ctx = NULL;
|
||||
#define HAVE_PLATFORM_BACKEND 1
|
||||
#endif /* SDL_USE_LIBUDEV */
|
||||
|
||||
#elif __MACOS__
|
||||
#elif defined(__MACOS__)
|
||||
#include "mac/hid.c"
|
||||
#define HAVE_PLATFORM_BACKEND 1
|
||||
#define udev_ctx 1
|
||||
|
||||
Reference in New Issue
Block a user