]> git.saurik.com Git - wxWidgets.git/commitdiff
wxGetEnv() should return wxChar *, even if it's a macro and not a function
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Mar 2005 19:23:33 +0000 (19:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Mar 2005 19:23:33 +0000 (19:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index a2d04920815668fd1ebdaa9edaf4feb8940694ab..dd6e3851c2d5d70888cf8b4e6e0ed3aca9721801 100644 (file)
     /* 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