Additional makefiles; changes for compilation with BC++ and GnuWin32

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-09-08 22:27:12 +00:00
parent f395c809b5
commit 27529614c2
31 changed files with 344 additions and 202 deletions

View File

@@ -30,6 +30,10 @@
#include <windows.h>
#endif
#ifdef LoadLibrary
#undef LoadLibrary
#endif
// ---------------------------------------------------------------------------
// Global variables
// ---------------------------------------------------------------------------
@@ -154,7 +158,11 @@ wxLibrary *wxLibraries::LoadLibrary(const wxString& name)
#elif defined(__WINDOWS__)
lib_name += ".dll";
HMODULE handle = LoadLibrary(lib_name);
#ifdef UNICODE
HMODULE handle = LoadLibraryW(lib_name);
#else
HMODULE handle = LoadLibraryA(lib_name);
#endif
if (!handle)
return NULL;
#else