From: Jonathan Chambers Date: Tue, 13 Mar 2007 20:00:05 +0000 (+0000) Subject: 2007-03-13 Jonathan Chambers X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53ca10ca1b63b5e83ba84832ccff463d185d2929;p=gc 2007-03-13 Jonathan Chambers * *.vcproj: Move to msvc directory. * *.bat: Move to msvc directory. * libgc/misc.c: Use correct string type for GetModuleHandle. svn path=/trunk/mono/; revision=74203 --- diff --git a/libgc.vcproj b/libgc.vcproj deleted file mode 100644 index 1cf813da..00000000 --- a/libgc.vcproj +++ /dev/null @@ -1,416 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/misc.c b/misc.c index 52567b7d..be2555b8 100644 --- a/misc.c +++ b/misc.c @@ -477,7 +477,7 @@ void GC_init() #if defined(GC_WIN32_THREADS) && !defined(GC_PTHREADS) if (!GC_is_initialized) { BOOL (WINAPI *pfn) (LPCRITICAL_SECTION, DWORD) = NULL; - HMODULE hK32 = GetModuleHandle("kernel32.dll"); + HMODULE hK32 = GetModuleHandle(_T("kernel32.dll")); if (hK32) (FARPROC) pfn = GetProcAddress(hK32, "InitializeCriticalSectionAndSpinCount");