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:
parent
67acaf80e7
commit
2f5e2c177c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user