From e7f28a5864ef3e6bacbfa8e96345e02d65e2b333 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 May 2005 17:55:30 +0000 Subject: [PATCH] compilation fix: last commit broke non-Win64 compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dlmsw.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/msw/dlmsw.cpp b/src/msw/dlmsw.cpp index d9a49f3a1f..2e6d519edd 100644 --- a/src/msw/dlmsw.cpp +++ b/src/msw/dlmsw.cpp @@ -79,8 +79,15 @@ public: wxVersionDLL *verDLL; }; + // TODO: fix EnumerateLoadedModules() to use EnumerateLoadedModules64() + #ifdef __WIN64__ + typedef DWORD64 DWORD_32_64; + #else + typedef DWORD DWORD_32_64; + #endif + static BOOL CALLBACK - EnumModulesProc(PSTR name, DWORD64 base, ULONG size, void *data); + EnumModulesProc(PSTR name, DWORD_32_64 base, ULONG size, void *data); }; // ---------------------------------------------------------------------------- @@ -209,7 +216,7 @@ wxString wxVersionDLL::GetFileVersion(const wxString& filename) const /* static */ BOOL CALLBACK wxDynamicLibraryDetailsCreator::EnumModulesProc(PSTR name, - DWORD64 base, + DWORD_32_64 base, ULONG size, void *data) { -- 2.45.2