From 6f8a4ba11cfa9f9a821567c4d48f895a9310faf8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 10 Mar 2005 19:23:33 +0000 Subject: [PATCH] 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 --- include/wx/wxchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index a2d0492081..dd6e3851c2 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -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 -- 2.50.0