From cb1f4209334bc5512b335967f703830e61c6a6ec Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 18 Jul 2012 20:39:30 +0000 Subject: [PATCH] core: fix the Windows and OS X builds with SDL. --- src/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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