#include "wx/list.h"
+#ifndef __WXWINCE__
#include <time.h>
+#endif
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
+#ifdef __WXWINCE__
+ typedef long off_t;
+#else
+
// define off_t
#if !defined(__WXMAC__) || defined(__UNIX__)
#include <sys/types.h>
typedef long off_t;
#endif
+#endif
+
#if defined(__VISAGECPP__) && __IBMCPP__ >= 400
//
// VisualAge C++ V4.0 cannot have any external linkage const decs
// Microsoft compiler loves underscores, feed them to it
#if defined( __VISUALC__ ) \
- || ( defined(__MINGW32__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \
+ || ( defined(__MINGW32__) && !defined(__WINE__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \
|| ( defined(__MWERKS__) && defined(__WXMSW__) )
// functions
#define wxClose _close