From cc221535500b1059cfa842cd3ae36d64fbc258e3 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Mon, 1 Nov 2010 09:48:56 +0000 Subject: [PATCH] Create work-around for wxGetEnvMap on OpenVMS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/utilscmn.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 48e1549e7e..3dca6a7abf 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -557,6 +557,10 @@ bool wxGetEnvMap(wxEnvVariableHashMap *map) #if defined(__VISUALC__) wxChar **env = _tenviron; +#elif defined(__VMS) + // Now this routine wil give false for OpenVMS + // TODO : should we do something with logicals? + char **env; #elif defined(__WXOSX__) // Under Mac shared libraries don't have access to the global environ // variable so use this Mac-specific function instead as advised by -- 2.45.2