X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f5e2c177cb3f004d676303ad9accb347d882570..0bb0e26c0c82778a50e901acbc5e00f739435eef:/include/wx/wxchar.h 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