make sure BITS32 and 16 are what they say they are
This commit is contained in:
parent
84c1803102
commit
4f8fad43df
11
H/YapTerm.h
11
H/YapTerm.h
@ -101,10 +101,19 @@ typedef void *Atom;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
typedef UInt CELL;
|
||||
#if HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
|
||||
typedef uint16_t BITS16;
|
||||
typedef int16_t SBITS16;
|
||||
typedef uint32_t BITS32;
|
||||
#else
|
||||
typedef UShort BITS16;
|
||||
typedef Short SBITS16;
|
||||
typedef Short SBITS16;
|
||||
typedef UInt BITS32;
|
||||
#endif
|
||||
|
||||
#define WordSize sizeof(BITS16)
|
||||
#define CellSize sizeof(CELL)
|
||||
|
Reference in New Issue
Block a user