From f8bfa05b185d73881960f7f8dcb4105b5f958f53 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Wed, 3 May 2006 10:40:34 +0000 Subject: [PATCH] Makes this compilable with MVC++6.0, related to bug 139891 --- .../library/starter/starter.cpp | 2 +- .../library/starter/starter.dsp | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/core/org.eclipse.cdt.core.win32/library/starter/starter.cpp b/core/org.eclipse.cdt.core.win32/library/starter/starter.cpp index b353aebfa17..af6bf868d0f 100644 --- a/core/org.eclipse.cdt.core.win32/library/starter/starter.cpp +++ b/core/org.eclipse.cdt.core.win32/library/starter/starter.cpp @@ -214,7 +214,7 @@ extern "C" int _tmain(int argc, _TCHAR * argv[]) { OutputDebugStringW(buffer); #endif // Create job object if it is possible - HMODULE hKernel = GetModuleHandle(L"kernel32.dll"); + HMODULE hKernel = GetModuleHandle("kernel32.dll"); HANDLE hJob = NULL; HANDLE (WINAPI * pCreateJobObject)(LPSECURITY_ATTRIBUTES lpJobAttributes, char * lpName); diff --git a/core/org.eclipse.cdt.core.win32/library/starter/starter.dsp b/core/org.eclipse.cdt.core.win32/library/starter/starter.dsp index b1db348479b..c9a65e318cc 100644 --- a/core/org.eclipse.cdt.core.win32/library/starter/starter.dsp +++ b/core/org.eclipse.cdt.core.win32/library/starter/starter.dsp @@ -84,14 +84,6 @@ LINK32=link.exe # Name "starter - Win32 Debug" # Begin Source File -SOURCE=.\killer.cpp -# End Source File -# Begin Source File - -SOURCE=.\killer.h -# End Source File -# Begin Source File - SOURCE=.\starter.cpp # End Source File # End Target