Changeset 125505 in webkit
- Timestamp:
- Aug 13, 2012 8:20:33 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r125487 r125505 1 2012-08-13 Alex Christensen <alex.christensen@flexsim.com> 2 3 Windows 64 bit compliance 4 https://bugs.webkit.org/show_bug.cgi?id=93275 5 6 Reviewed by Brent Fulgham. 7 8 Fixed a few compile and link problems for Win64 9 10 * WinLauncher/WinLauncher.cpp: 11 * win/DLLLauncher/DLLLauncherMain.cpp: 12 1 13 2012-08-13 MORITA Hajime <morrita@google.com> 2 14 -
trunk/Tools/WinLauncher/WinLauncher.cpp
r120133 r125505 229 229 { 230 230 hMainWnd = gViewWindow; 231 DefWebKitProc = reinterpret_cast<WNDPROC>(::GetWindowLongPtr(hMainWnd, GWL_WNDPROC)); 232 ::SetWindowLongPtr(hMainWnd, GWL_WNDPROC, reinterpret_cast<LONG_PTR>(WndProc)); 231 #if defined _M_AMD64 || defined _WIN64 232 DefWebKitProc = reinterpret_cast<WNDPROC>(::GetWindowLongPtr(hMainWnd, GWLP_WNDPROC)); 233 ::SetWindowLongPtr(hMainWnd, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(WndProc)); 234 #else 235 DefWebKitProc = reinterpret_cast<WNDPROC>(::GetWindowLong(hMainWnd, GWL_WNDPROC)); 236 ::SetWindowLong(hMainWnd, GWL_WNDPROC, reinterpret_cast<LONG_PTR>(WndProc)); 237 #endif 233 238 } 234 239 … … 315 320 } 316 321 317 DefEditProc = reinterpret_cast<WNDPROC>(GetWindowLongPtr(hURLBarWnd, GWL_WNDPROC)); 318 SetWindowLongPtr(hURLBarWnd, GWL_WNDPROC, reinterpret_cast<LONG_PTR>(MyEditProc)); 322 #if defined _M_AMD64 || defined _WIN64 323 DefEditProc = reinterpret_cast<WNDPROC>(GetWindowLongPtr(hURLBarWnd, GWLP_WNDPROC)); 324 SetWindowLongPtr(hURLBarWnd, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(MyEditProc)); 325 #else 326 DefEditProc = reinterpret_cast<WNDPROC>(GetWindowLong(hURLBarWnd, GWL_WNDPROC)); 327 SetWindowLong(hURLBarWnd, GWL_WNDPROC, reinterpret_cast<LONG_PTR>(MyEditProc)); 328 #endif 329 319 330 SetFocus(hURLBarWnd); 320 331 -
trunk/Tools/win/DLLLauncher/DLLLauncherMain.cpp
r104187 r125505 185 185 #if USE_CONSOLE_ENTRY_POINT 186 186 typedef int (WINAPI*EntryPoint)(int, const char*[]); 187 #if defined _M_AMD64 || defined _WIN64 188 const char* entryPointName = "_dllLauncherEntryPoint"; 189 #else 187 190 const char* entryPointName = "_dllLauncherEntryPoint@8"; 191 #endif 188 192 #else 189 193 typedef int (WINAPI*EntryPoint)(HINSTANCE, HINSTANCE, LPWSTR, int); 194 #if defined _M_AMD64 || defined _WIN64 195 const char* entryPointName = "_dllLauncherEntryPoint"; 196 #else 190 197 const char* entryPointName = "_dllLauncherEntryPoint@16"; 198 #endif 191 199 #endif 192 200
Note: See TracChangeset
for help on using the changeset viewer.