Browse Source

remove warnings from Wundef in SDL_config.h.cmake

e 4 years ago
parent
commit
bfbab53660
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL_config.h.cmake

+ 1 - 1
include/SDL_config.h.cmake

@@ -204,7 +204,7 @@
 #cmakedefine HAVE_POLL 1
 #cmakedefine HAVE__EXIT 1
 
-#elif __WIN32__
+#elif defined(__WIN32__)
 #cmakedefine HAVE_STDARG_H 1
 #cmakedefine HAVE_STDDEF_H 1
 #cmakedefine HAVE_FLOAT_H 1