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/const.h | |
parent | 4c36e9a0c125ccfff37aa440dab2cf58c4152fff (diff) | |
download | dev86-e63c244cb22bf48ca1d2695784a072269d19ea96.tar.gz |
Import Dev86src-0.12.0.tar.gzv0.12.0
Diffstat (limited to 'bcc/const.h')
-rw-r--r-- | bcc/const.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/bcc/const.h b/bcc/const.h index f8fd692..cd1f16e 100644 --- a/bcc/const.h +++ b/bcc/const.h @@ -17,9 +17,13 @@ #endif +#ifdef __AS386_16__ +#define VERY_SMALL_MEMORY +#endif + #define SELFTYPECHECK /* check calculated type = runtime type */ -#ifndef __AS386_16__ +#ifndef VERY_SMALL_MEMORY #define DEBUG /* generate compiler-debugging code */ #endif @@ -29,7 +33,7 @@ * since assembler has only 1 data seg */ # define DYNAMIC_LONG_ORDER 1 /* long word order spec. at compile time */ -#ifdef __AS386_16__ +#ifdef VERY_SMALL_MEMORY /* Humm, now this is nasty :-) */ #define float no_hope @@ -61,12 +65,9 @@ typedef long no_hope; /* switches for source machine dependencies */ -#ifndef SOS_EDOS -# define S_ALIGNMENT (sizeof(int)) /* source memory alignment, power of 2 */ -#endif - -#ifndef SOS_MSDOS /* need portable alignment for large model */ -# define UNPORTABLE_ALIGNMENT +/* Unportable alignment needed for specific compilers */ +#ifndef VERY_SMALL_MEMORY +# define S_ALIGNMENT (sizeof(long)) /* A little safer */ #endif /* local style */ |