X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f5e2c177cb3f004d676303ad9accb347d882570..f5a1953b341d16396763bee067ccdd96108f3aad:/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