fix for CW non unicode builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2003-09-09 15:34:15 +00:00
parent 5524d92aaa
commit f825dcd123
2 changed files with 4 additions and 4 deletions

View File

@ -158,7 +158,7 @@ WXDLLIMPEXP_BASE int wxStat( const wxChar *file_name, wxStructStat *buf );
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 );

View File

@ -508,7 +508,7 @@
// time.h functions
#define wxAsctime wasciitime
#define wxCtime wctime
#define wxStrftime wcsftime
// #define wxStrftime wcsftime
/*
#define wxNEED_FPUTWC
@ -527,8 +527,8 @@
// 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
@ -580,7 +580,7 @@
#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);