diff options
author | Robert de Bath <rdebath@poboxes.com> | 1997-05-09 19:36:29 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:39:48 +0200 |
commit | e63c244cb22bf48ca1d2695784a072269d19ea96 (patch) | |
tree | 45b9018259f43db629b27395783cf48e55a85eee /bcc/exptree.c | |
parent | 4c36e9a0c125ccfff37aa440dab2cf58c4152fff (diff) | |
download | dev86-e63c244cb22bf48ca1d2695784a072269d19ea96.tar.gz |
Import Dev86src-0.12.0.tar.gzv0.12.0
Diffstat (limited to 'bcc/exptree.c')
-rw-r--r-- | bcc/exptree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bcc/exptree.c b/bcc/exptree.c index 6b24eff..1a079e7 100644 --- a/bcc/exptree.c +++ b/bcc/exptree.c @@ -2,8 +2,7 @@ /* Copyright (C) 1992 Bruce Evans */ -#include "const.h" -#include "types.h" +#include "bcc.h" #include "byteord.h" #include "gencode.h" #include "parse.h" @@ -13,7 +12,7 @@ #include "sizes.h" #include "type.h" -#ifdef __AS386_16__ +#ifdef VERY_SMALL_MEMORY #define ETREESIZE 300 #else #define ETREESIZE 1200 @@ -375,6 +374,7 @@ struct nodestruct *p2; if (lscalar & RSCALAR && !(rscalar & RSCALAR)) { double val; + /* XXX: Gcc warns about ansi vs k&r problem with this */ static double MAXULONG = (double)0xFFFFFFFFL +1; val = *target->offset.offd; @@ -425,7 +425,7 @@ struct nodestruct *p2; if (long_big_endian) #endif #if DYNAMIC_LONG_ORDER || LONG_BIG_ENDIAN -# if BIG_ENDIAN +# if INT_BIG_ENDIAN target->offset.offi += targszdelta; # else { @@ -438,7 +438,7 @@ struct nodestruct *p2; else #endif #if DYNAMIC_LONG_ORDER || LONG_BIG_ENDIAN == 0 -# if BIG_ENDIAN +# if INT_BIG_ENDIAN { if (rscalar & CHAR) target->offset.offi += ctypesize; |