Fix ANY_WORDSIZE_LESS_THAN_KERNEL_LONG definition
* defs.h (ANY_WORDSIZE_LESS_THAN_KERNEL_LONG): Rewrite without undefined
behaviour.
Fixes: f916793
("Introduce ANY_WORDSIZE_LESS_THAN_KERNEL_LONG macro")
This commit is contained in:
parent
b96c599af8
commit
3c5aaa643b
9
defs.h
9
defs.h
@ -844,9 +844,12 @@ extern unsigned current_klongsize;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define ANY_WORDSIZE_LESS_THAN_KERNEL_LONG \
|
||||
(SIZEOF_KERNEL_LONG_T > 4 \
|
||||
&& (SIZEOF_LONG < SIZEOF_KERNEL_LONG_T || !defined(current_wordsize)))
|
||||
#if SIZEOF_KERNEL_LONG_T > 4 \
|
||||
&& (SIZEOF_LONG < SIZEOF_KERNEL_LONG_T || !defined(current_wordsize))
|
||||
# define ANY_WORDSIZE_LESS_THAN_KERNEL_LONG 1
|
||||
#else
|
||||
# define ANY_WORDSIZE_LESS_THAN_KERNEL_LONG 0
|
||||
#endif
|
||||
|
||||
#define DECL_PRINTNUM(name) \
|
||||
extern bool \
|
||||
|
Loading…
Reference in New Issue
Block a user