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 - fix windows build after revision 11382
Summary: fix windows build after revision 11382
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All Windows (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 23:42 UTC by Ozkan Sezer
Modified: 2017-08-29 05:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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