WXDLLIMPEXP_BASE int wxAccess( const wxChar *pathname, int mode );
WXDLLIMPEXP_BASE int wxOpen( const wxChar *pathname, int flags, mode_t mode );
#else
-#if defined(__WXMAC__) && !defined(__DARWIN__)
+#if defined(__WXMAC__) && !defined(__DARWIN__) && !defined(wxUSE_UNICODE)
#include <sys/stat.h>
WXDLLIMPEXP_BASE int wxStat( const wxChar *file_name, wxStructStat *buf );
WXDLLIMPEXP_BASE int wxAccess( const wxChar *pathname, int mode );
// time.h functions
#define wxAsctime wasciitime
#define wxCtime wctime
- #define wxStrftime wcsftime
+ // #define wxStrftime wcsftime
/*
#define wxNEED_FPUTWC
// use our own versions
#define wxNEED_WX_STDIO_H
#define wxNEED_WX_STDLIB_H
- #define wxNEED_WX_TIME_H
*/
+ #define wxNEED_WX_TIME_H
#else // !metrowerks for apple
#error "Please define wide character functions for your environment"
#endif
#define wxStrxfrm strxfrm
// stdio.h functions
- #if defined(__WXMAC__) && !defined(__DARWIN__)
+ #if defined(__WXMAC__) && !defined(__DARWIN__) && !defined(wxUSE_UNICODE)
#include <stdio.h>
WXDLLIMPEXP_BASE FILE * wxFopen(const wxChar *path, const wxChar *mode);
WXDLLIMPEXP_BASE FILE * wxFreopen(const wxChar *path, const wxChar *mode, FILE *stream);