define wxGetenv() for WinCE which doesn't have _tgetenv() to always return NULL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-03-10 19:14:53 +00:00
parent 766763d092
commit cbffcf1117

View File

@ -369,7 +369,12 @@
#define wxAtoi _ttoi
#define wxAtol _ttol
/* #define wxAtof _tttof -- notice that there is no such thing (why?) */
#define wxGetenv _tgetenv
/* there are no env vars at all under CE, so no _tgetenv neither */
#ifdef __WXWINCE__
inline wxChar *wxGetenv(const wxChar *) { return NULL; }
#else
#define wxGetenv _tgetenv
#endif
#define wxSystem _tsystem
/* time.h functions */