1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Implement a machine-independent (word size-independent) FICL_TRUE.

This commit is contained in:
Daniel C. Sobral 2000-01-28 03:59:12 +00:00
parent c2881538fa
commit bc9ca81f3d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56719

View File

@ -229,7 +229,7 @@ struct ficl_dict;
** complement of false... that unifies logical and bitwise operations
** nicely.
*/
#define FICL_TRUE (0xffffffffL)
#define FICL_TRUE (~(0L))
#define FICL_FALSE (0)
#define FICL_BOOL(x) ((x) ? FICL_TRUE : FICL_FALSE)