diff --git a/src/core.h b/src/core.h index 2e7730ef..00145d9f 100644 --- a/src/core.h +++ b/src/core.h @@ -67,7 +67,7 @@ static inline int isnan(float f) #endif /* If using SDL and Visual Studio, let it override main() */ -#if defined _MSVC && defined USE_SDL +#if defined USE_SDL && (defined _MSC_VER || defined __APPLE__) # include #endif