diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/mwcc_decomp.h | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/includes/mwcc_decomp.h b/includes/mwcc_decomp.h index 3b4d2b1..bc9d071 100644 --- a/includes/mwcc_decomp.h +++ b/includes/mwcc_decomp.h @@ -63,7 +63,8 @@ enum { resFNotFound = -193, // resource file not found addResFailed = -194, // AddResource failed rmvResFailed = -196, // RmveResource failed - resAttrErr = -198 // inconsistent attribute + resAttrErr = -198, // inconsistent attribute + mapReadErr = -199 // map inconsistent with operation }; enum { kNilOptions = 0 }; enum { kUnknownType = 0x3F3F3F3F }; @@ -78,6 +79,9 @@ typedef const unsigned char *ConstStr255Param; // XXX: MacTypes.h defines StrLength() which is an inline for C++ and a macro for C // This might be useful? +#ifdef __MWERKS__ +#pragma options align=mac68k +#endif typedef struct Point { SInt16 v, h; } Point; @@ -85,9 +89,31 @@ typedef struct Point { typedef struct Rect { SInt16 top, left, bottom, right; } Rect; +#ifdef __MWERKS__ +#pragma options align=reset +#endif // ------- // Files.h +#ifdef __MWERKS__ +#pragma options align=mac68k +#endif +enum { + fsCurPerm = 0x00, + fsRdPerm = 0x01, + fsWrPerm = 0x02, + fsRdWrPerm = 0x03, + fsRdWrShPerm = 0x04, + fsRdDenyPerm = 0x10, + fsWrDenyPerm = 0x20 +}; +enum { + fsAtMark = 0, + fsFromStart = 1, + fsFromLEOF = 2, + fsFromMark = 3 +}; + typedef struct FSSpec { SInt16 vRefNum; SInt32 parID; @@ -231,7 +257,9 @@ typedef union CInfoPBRec { DirInfo hDirInfo; } CInfoPBRec; typedef CInfoPBRec *CInfoPBPtr; -//#endif +#ifdef __MWERKS__ +#pragma options align=reset +#endif //#include "../sdk_hdrs/CompilerMapping.h" //#include "../sdk_hdrs/DropInCompilerLinker.h" |