|
From: <cn...@us...> - 2009-05-26 03:26:09
|
Revision: 279
http://hgengine.svn.sourceforge.net/hgengine/?rev=279&view=rev
Author: cnlohr
Date: 2009-05-26 03:26:06 +0000 (Tue, 26 May 2009)
Log Message:
-----------
fixup Unicode on Windows
Modified Paths:
--------------
Mercury2/src/ModuleManager.cpp
Modified: Mercury2/src/ModuleManager.cpp
===================================================================
--- Mercury2/src/ModuleManager.cpp 2009-05-26 03:23:41 UTC (rev 278)
+++ Mercury2/src/ModuleManager.cpp 2009-05-26 03:26:06 UTC (rev 279)
@@ -10,7 +10,7 @@
#define RTLD_NOW 0
#define RTLD_GLOBAL 0
-void * dlopen( const char * sFile, int dummy ) { return LoadLibrary( sFile ); }
+void * dlopen( const char * sFile, int dummy ) { return LoadLibrary( (LPCWSTR)sFile ); }
void dlclose( void * handle ) { FreeLibrary( (HMODULE)handle ); }
void * dlsym( void * handle, const char * sym ) { return GetProcAddress( (HMODULE) handle, sym ); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|