]> git.saurik.com Git - wxWidgets.git/blobdiff - src/regex/regcomp.c
compilation fix for Mac and reformatted the code
[wxWidgets.git] / src / regex / regcomp.c
index 17557ddd14eaa0138e843cf446aebcd9318f2ca4..a016af0b7716cda610a4d24eca9821261edf9951 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>