bug fix: the in_store test did not work when NON_STANDARD was defined,

because in this case, the bit tested resided in user area
This commit is contained in:
ceriel
1989-11-30 17:29:00 +00:00
parent ac489d50a3
commit 5e2915d143
4 changed files with 21 additions and 16 deletions

View File

@@ -9,9 +9,8 @@
#define MIN_SIZE (1<<LOG_MIN_SIZE)
#define MAX_FLIST (LOG_MAX_SIZE - LOG_MIN_SIZE)
#if ALIGNMENT != 1 && ALIGNMENT != 2 && ALIGNMENT != 4 && ALIGNMENT != 8 &&\
ALIGNMENT != 16
ALIGNMENT must be a (small) power of two !!!
#if ALIGNMENT != 4 && ALIGNMENT != 8 && ALIGNMENT != 16
ALIGNMENT must be 4, 8, or 16
#endif
#define align(n) (((n) + (ALIGNMENT - 1)) & ~(ALIGNMENT - 1))