#ifndef _WX_WXCHAR_H_
#define _WX_WXCHAR_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "wxchar.h"
#endif
// 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);
const wxChar *fmt, const struct tm *tm);
#endif // wxNEED_WX_TIME_H
+// missing functions in WinCE
+#ifdef __WXWINCE__
+WXDLLIMPEXP_BASE char* strdup(const char* s);
+WXDLLIMPEXP_BASE void *calloc( size_t num, size_t size );
+
+#if _WIN32_WCE <= 211
+WXDLLIMPEXP_BASE int isspace(int c);
+WXDLLIMPEXP_BASE int isascii( int c );
+#endif
+#endif
+
// ----------------------------------------------------------------------------
// multibyte to wide char conversion functions and macros
// ----------------------------------------------------------------------------