+// ----------------------------------------------------------------------------
+// constants
+// ----------------------------------------------------------------------------
+
+// define off_t
+#include <sys/types.h>
+
+#ifdef _MSC_VER
+ #define off_t _off_t
+#endif
+
+const off_t wxInvalidOffset = (off_t)-1;
+
+typedef enum {
+ wxFromStart,
+ wxFromCurrent,
+ wxFromEnd
+} wxSeekMode;
+
+// ----------------------------------------------------------------------------
+// functions
+// ----------------------------------------------------------------------------