소스 검색

Allow SDL_oldnames.h to be completely disabled

Sam Lantinga 2 년 전
부모
커밋
cdbd1be8c6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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