Implement a machine-independent (word size-independent) FICL_TRUE.
This commit is contained in:
parent
c2881538fa
commit
bc9ca81f3d
|
@ -229,7 +229,7 @@ struct ficl_dict;
|
||||||
** complement of false... that unifies logical and bitwise operations
|
** complement of false... that unifies logical and bitwise operations
|
||||||
** nicely.
|
** nicely.
|
||||||
*/
|
*/
|
||||||
#define FICL_TRUE (0xffffffffL)
|
#define FICL_TRUE (~(0L))
|
||||||
#define FICL_FALSE (0)
|
#define FICL_FALSE (0)
|
||||||
#define FICL_BOOL(x) ((x) ? FICL_TRUE : FICL_FALSE)
|
#define FICL_BOOL(x) ((x) ? FICL_TRUE : FICL_FALSE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue