diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 4b5c712f6c..a883c76893 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -497,12 +497,15 @@ #define wxNEED_WX_STDIO_H /* stdlib.h functions */ + #ifdef __MACH__ + #define wxNEED_WX_STDLIB_H + #else #define wxAtof watof #define wxAtoi watoi #define wxAtol watol #define wxGetenv(a) ((wxChar*)NULL) #define wxSystem(a) ((int)NULL) - + #endif /* time.h functions */ #define wxAsctime wasciitime #define wxCtime wctime