X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fsst.h;h=2e6f90994d9ed41a272c73e9c2d4b4b13c447da6;hp=83e74551da01625dd5bb87e411976f3bb0d4c938;hb=0c29dd2a524aab48238926e4a893ea406a851971;hpb=c4d3d7faa3e4fe1acd11997d0a600b0e2ca93107 diff --git a/src/sst.h b/src/sst.h index 83e7455..2e6f909 100644 --- a/src/sst.h +++ b/src/sst.h @@ -203,6 +203,8 @@ extern double scheduled(int); #define SSTMAGIC "SST2.0\n" +#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) + struct game { char magic[sizeof(SSTMAGIC)]; unsigned long options;