define wxGetEnv() as macro, not inline function, for WinCE as otherwise extended.c compilation fails

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-03-10 19:20:04 +00:00
parent 67acaf80e7
commit 2f5e2c177c

View File

@ -371,7 +371,8 @@
/* #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