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