Fixed platform define condition for Windows phone

Fixes https://github.com/libsdl-org/SDL/issues/11876
This commit is contained in:
Sam Lantinga 2025-01-07 08:47:13 -08:00
parent 0180ca541e
commit 0176a19aee

View file

@ -366,7 +366,7 @@
*/
#define SDL_WINAPI_FAMILY_PHONE (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
#elif HAVE_WINAPIFAMILY_H && HAVE_WINAPIFAMILY_H
#elif defined(HAVE_WINAPIFAMILY_H) && HAVE_WINAPIFAMILY_H
#define SDL_WINAPI_FAMILY_PHONE (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
#else
#define SDL_WINAPI_FAMILY_PHONE 0