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:
@@ -369,7 +369,12 @@
|
|||||||
#define wxAtoi _ttoi
|
#define wxAtoi _ttoi
|
||||||
#define wxAtol _ttol
|
#define wxAtol _ttol
|
||||||
/* #define wxAtof _tttof -- notice that there is no such thing (why?) */
|
/* #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
|
#define wxSystem _tsystem
|
||||||
|
|
||||||
/* time.h functions */
|
/* time.h functions */
|
||||||
|
Reference in New Issue
Block a user