wxGetEnv() should return wxChar *, even if it's a macro and not a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
311131d369
commit
6f8a4ba11c
@ -372,7 +372,7 @@
|
||||
/* there are no env vars at all under CE, so no _tgetenv neither */
|
||||
#ifdef __WXWINCE__
|
||||
/* can't define as inline function as this is a C file... */
|
||||
#define wxGetenv(name) NULL
|
||||
#define wxGetenv(name) ((wxChar *)NULL)
|
||||
#else
|
||||
#define wxGetenv _tgetenv
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user