Fix -Wundef warnings due to use of unguarded __MACOS__

This commit is contained in:
Anonymous Maarten
2023-03-27 15:35:24 +02:00
parent cfe2efb425
commit ed7a589334
4 changed files with 4 additions and 4 deletions

View File

@@ -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