We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3785

Summary: fix windows build after revision 11382
Product: SDL Reporter: Ozkan Sezer <sezeroz>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: Windows (All)   

Description Ozkan Sezer 2017-08-28 23:42:31 UTC
fix windows build after revision 11382: commit 2c50e79b19e0 renamed
_SDL_msctf_h to SDL_msctf_h_ . SDL_windowskeyboard.c relies on that
macro, so update it accordingly.

--- SDL2/src/video/windows/SDL_windowskeyboard.c~
+++ SDL2/src/video/windows/SDL_windowskeyboard.c
@@ -268,7 +268,7 @@
 
 #else
 
-#ifdef _SDL_msctf_h
+#ifdef SDL_msctf_h_
 #define USE_INIT_GUID
 #elif defined(__GNUC__)
 #define USE_INIT_GUID
Comment 1 Sam Lantinga 2017-08-29 05:45:12 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/535e96a0ee39