Changeset 137054 in webkit
- Timestamp:
- Dec 8, 2012 6:30:39 PM (11 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r137032 r137054 1 2012-12-08 Patrick Gansterer <paroga@webkit.org> 2 3 Compiling WTF outside of WebKit failed on Windows 4 https://bugs.webkit.org/show_bug.cgi?id=100201 5 6 Reviewed by Darin Adler. 7 8 Explicitly use the Unicode variants of the Windows API to 9 allow building the WTF library without the UNICODE define. 10 11 * wtf/win/MainThreadWin.cpp: 12 (WTF::initializeMainThreadPlatform): 13 1 14 2012-12-08 Gustavo Noronha Silva <gns@gnome.org> 2 15 -
trunk/Source/WTF/wtf/win/MainThreadWin.cpp
r111778 r137054 33 33 #include "Assertions.h" 34 34 #include "Threading.h" 35 #if !OS(WINCE)36 35 #include <windows.h> 37 #endif38 36 39 37 namespace WTF { … … 58 56 59 57 HWND hWndParent = 0; 60 #if OS(WINCE) 61 WNDCLASS wcex; 62 memset(&wcex, 0, sizeof(WNDCLASS)); 63 #else 64 WNDCLASSEX wcex; 65 memset(&wcex, 0, sizeof(WNDCLASSEX)); 66 wcex.cbSize = sizeof(WNDCLASSEX); 67 #endif 58 WNDCLASSW wcex; 59 memset(&wcex, 0, sizeof(WNDCLASSW)); 68 60 wcex.lpfnWndProc = ThreadingWindowWndProc; 69 61 wcex.lpszClassName = kThreadingWindowClassName; 70 #if OS(WINCE) 71 RegisterClass(&wcex); 72 #else 73 RegisterClassEx(&wcex); 62 RegisterClassW(&wcex); 63 #if !OS(WINCE) 74 64 hWndParent = HWND_MESSAGE; 75 65 #endif 76 66 77 threadingWindowHandle = CreateWindow (kThreadingWindowClassName, 0, 0,67 threadingWindowHandle = CreateWindowW(kThreadingWindowClassName, 0, 0, 78 68 CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, hWndParent, 0, 0, 0); 79 threadingFiredMessage = RegisterWindowMessage (L"com.apple.WebKit.MainThreadFired");69 threadingFiredMessage = RegisterWindowMessageW(L"com.apple.WebKit.MainThreadFired"); 80 70 81 71 initializeCurrentThreadInternal("Main Thread");
Note: See TracChangeset
for help on using the changeset viewer.