Explorar el Código

Allow SDL_oldnames.h to be completely disabled

Sam Lantinga hace 3 años
padre
commit
cdbd1be8c6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      include/SDL3/SDL_oldnames.h

+ 1 - 1
include/SDL3/SDL_oldnames.h

@@ -362,7 +362,7 @@
 #define SDL_GetPointDisplayIndex SDL_GetDisplayIndexForPoint
 #define SDL_GetRectDisplayIndex SDL_GetDisplayIndexForRect
 
-#else /* !SDL_ENABLE_OLD_NAMES */
+#elif !defined(SDL_DISABLE_OLD_NAMES)
 
 /* ##SDL_audio.h */
 #define SDL_AudioStreamAvailable SDL_AudioStreamAvailable_renamed_SDL_GetAudioStreamAvailable