Browse Source

core: fix the Windows and OS X builds with SDL.

legacy
Sam Hocevar sam 12 years ago
parent
commit
cb1f420933
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/core.h

+ 1
- 1
src/core.h View File

@@ -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 <SDL_main.h>
#endif



Loading…
Cancel
Save