- #ifdef __MACH__
- #include <ansi_prefix.mach.h>
- #include <msl_c_version.h>
- #include <stdint.h>
- #undef WCHAR_MAX
- #include <machine/ansi.h>
- #else
- #include <ansi_prefix.mac.h>
+
+ /* CW9 has ssize_t */
+ #if defined(__MACH__) && __MWERKS__ >= 0x3200
+ #define HAVE_SSIZE_T
+ #endif
+
+ #include <mslconfig>
+ // for getting the correct expat includes
+ #define MACOS_CLASSIC
+ /*
+ #include <MacTypes.h>
+ #if UNIVERSAL_INTERFACES_VERSION < 0x0340
+ #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"