Changeset 158302 in webkit
- Timestamp:
- Oct 30, 2013, 12:10:47 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r158301 r158302 1 2013-10-30 Patrick Gansterer <paroga@webkit.org> 2 3 [WIN] Add executable entry points to DRT and WinLauncher 4 https://bugs.webkit.org/show_bug.cgi?id=121837 5 6 Reviewed by Brent Fulgham. 7 8 This allows to compile and run the executables without DLLLauncher. 9 10 * DumpRenderTree/win/DumpRenderTree.cpp: 11 (main): 12 (dllLauncherEntryPoint): 13 * WinLauncher/WinLauncher.cpp: 14 (wWinMain): 15 (dllLauncherEntryPoint): 16 1 17 2013-10-30 Filip Pizlo <fpizlo@apple.com> 2 18 -
trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp
r156418 r158302 1307 1307 } 1308 1308 1309 extern "C" __declspec(dllexport) int WINAPI dllLauncherEntryPoint(int argc, const char* argv[])1309 int main(int argc, const char* argv[]) 1310 1310 { 1311 1311 // Cygwin calls ::SetErrorMode(SEM_FAILCRITICALERRORS), which we will inherit. This is bad for … … 1470 1470 return 0; 1471 1471 } 1472 1473 extern "C" __declspec(dllexport) int WINAPI dllLauncherEntryPoint(int argc, const char* argv[]) 1474 { 1475 return main(argc, argv); 1476 } -
trunk/Tools/WinLauncher/WinLauncher.cpp
r157154 r158302 451 451 } 452 452 453 extern "C" __declspec(dllexport) int WINAPI dllLauncherEntryPoint(HINSTANCE, HINSTANCE, LPTSTR, int nCmdShow)453 int WINAPI wWinMain(HINSTANCE, HINSTANCE, PWSTR, int nCmdShow) 454 454 { 455 455 #ifdef _CRTDBG_MAP_ALLOC … … 1006 1006 SetFocus(gViewWindow); 1007 1007 } 1008 1009 extern "C" __declspec(dllexport) int WINAPI dllLauncherEntryPoint(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpstrCmdLine, int nCmdShow) 1010 { 1011 return wWinMain(hInstance, hPrevInstance, lpstrCmdLine, nCmdShow); 1012 }
Note:
See TracChangeset
for help on using the changeset viewer.