]> git.saurik.com Git - wxWidgets.git/commitdiff
define wxGetEnv() as macro, not inline function, for WinCE as otherwise extended...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Mar 2005 19:20:04 +0000 (19:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Mar 2005 19:20:04 +0000 (19:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index 6e5017ab7ebfdf54199b8f64e0ec003c910512b2..a2d04920815668fd1ebdaa9edaf4feb8940694ab 100644 (file)
     /* #define  wxAtof   _tttof -- notice that there is no such thing (why?) */
     /* there are no env vars at all under CE, so no _tgetenv neither */
     #ifdef __WXWINCE__
-        inline wxChar *wxGetenv(const wxChar *) { return NULL; }
+        /* can't define as inline function as this is a C file... */
+        #define wxGetenv(name)  NULL
     #else
         #define  wxGetenv    _tgetenv
     #endif