Explorar o código

remove warnings from Wundef in SDL_config.h.cmake

e %!s(int64=4) %!d(string=hai) anos
pai
achega
bfbab53660
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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_POLL 1
 #cmakedefine HAVE__EXIT 1
 #cmakedefine HAVE__EXIT 1
 
 
-#elif __WIN32__
+#elif defined(__WIN32__)
 #cmakedefine HAVE_STDARG_H 1
 #cmakedefine HAVE_STDARG_H 1
 #cmakedefine HAVE_STDDEF_H 1
 #cmakedefine HAVE_STDDEF_H 1
 #cmakedefine HAVE_FLOAT_H 1
 #cmakedefine HAVE_FLOAT_H 1