Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Chambers <joncham@gmail.com>2007-03-13 23:00:05 +0300
committerJonathan Chambers <joncham@gmail.com>2007-03-13 23:00:05 +0300
commit8e3893279bccda3304362901c673eefb5c173481 (patch)
tree50a49c9bd34359904421ee38178b5a9f19d3623c /libgc/misc.c
parentc9b55219e902f8231b9adf21287a7a3d52d4c472 (diff)
parent337b6aedc73387e0c24ade32a7e20de56c2ac1b2 (diff)
2007-03-13 Jonathan Chambers <joncham@gmail.com>
* *.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
Diffstat (limited to 'libgc/misc.c')
-rw-r--r--libgc/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgc/misc.c b/libgc/misc.c
index 52567b7ded8..be2555b8f2d 100644
--- a/libgc/misc.c
+++ b/libgc/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");