- #include <ansi_prefix.mac.h>
- /*
- #include <MacTypes.h>
- #if UNIVERSAL_INTERFACES_VERSION < 0x0340
- #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
- #endif
- */
+
+ /*CW9 has mbstate_t*/
+ #if defined(__MACH__) && __MWERKS__ < 0x3200
+ typedef int mbstate_t;
+ #define _MBSTATE_T
+ #endif
+
+ /*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/"
+ #endif
+ */