diff options
author | James Brown | 2002-04-20 04:09:02 +0000 |
---|---|---|
committer | James Brown | 2002-04-20 04:09:02 +0000 |
commit | eb773b477a669427ff84e422bbdb1c3d6b63e8ef (patch) | |
tree | fdcef5572f381d4760e150fe5558b6de703f5922 /simon/simon.h | |
parent | ed65e89a897f66eadc53ce27eb5fe6b39d16a0eb (diff) | |
download | scummvm-rg350-eb773b477a669427ff84e422bbdb1c3d6b63e8ef.tar.gz scummvm-rg350-eb773b477a669427ff84e422bbdb1c3d6b63e8ef.tar.bz2 scummvm-rg350-eb773b477a669427ff84e422bbdb1c3d6b63e8ef.zip |
Remove \M's, add IRIX support.
svn-id: r4019
Diffstat (limited to 'simon/simon.h')
-rw-r--r-- | simon/simon.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/simon/simon.h b/simon/simon.h index 1581007fbe..d44271dcfb 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -47,10 +47,10 @@ void fileWriteBE16(FILE *in, uint16 value); #define ARRAYSIZE(x) (sizeof(x)/sizeof(x[0])) #define CHECK_BOUNDS(x,y) assert((uint)(x)<ARRAYSIZE(y)) -#ifdef WIN32 -/* don't complain about zero sized arrays */ -#pragma warning (disable: 4200) -#endif +enum { + CHILD1_SIZE = 12, + CHILD2_SIZE = 16 +}; struct Child { Child *next; @@ -62,7 +62,7 @@ struct Child2 { uint16 string_id; uint32 avail_props; - int16 array[0]; + int16 array[1]; }; struct Child1 { @@ -70,7 +70,7 @@ struct Child1 { uint16 subroutine_id; uint16 fr2; - uint16 array[0]; + uint16 array[1]; }; struct Child9 { |