fixes #12935
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -580,6 +580,10 @@ bool wxGetEnvMap(wxEnvVariableHashMap *map)
|
||||
#else // non-MSVC non-Mac
|
||||
// Not sure if other compilers have _tenviron so use the (more standard)
|
||||
// ANSI version only for them.
|
||||
#ifdef __BSD__
|
||||
// POSIX, but not in an include file
|
||||
extern char **environ;
|
||||
#endif
|
||||
char **env = environ;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user