]> git.saurik.com Git - wxWidgets.git/blobdiff - src/regex/regerror.c
compilation fix for Mac and reformatted the code
[wxWidgets.git] / src / regex / regerror.c
index 1bb1ec1ce842d5cb19e2657ad737359956586589..b4c839adf5f0e5f8c0d8f8e6a28a8a0b76d9ed9d 100644 (file)
@@ -1,4 +1,8 @@
+#if defined(__MWERKS__) && !defined(__MACH__)
+typedef long off_t ;
+#else
 #include <sys/types.h>
+#endif
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>