2001-10-10 17:05:21 -07:00
|
|
|
/* $OpenBSD: iso646.h,v 1.3 2001/10/11 00:05:21 espie Exp $ */
|
1995-10-18 01:37:01 -07:00
|
|
|
/* $NetBSD: iso646.h,v 1.1 1995/02/17 09:08:10 jtc Exp $ */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Written by J.T. Conklin <jtc@wimsey.com> 02/16/95.
|
|
|
|
* Public domain.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ISO646_H_
|
|
|
|
#define _ISO646_H_
|
|
|
|
|
2001-10-10 17:05:21 -07:00
|
|
|
#ifndef __cplusplus
|
1995-10-18 01:37:01 -07:00
|
|
|
#define and &&
|
|
|
|
#define and_eq &=
|
|
|
|
#define bitand &
|
|
|
|
#define bitor |
|
|
|
|
#define compl ~
|
|
|
|
#define not !
|
|
|
|
#define not_eq !=
|
|
|
|
#define or ||
|
|
|
|
#define or_eq |=
|
|
|
|
#define xor ^
|
|
|
|
#define xor_eq ^=
|
2001-10-10 17:05:21 -07:00
|
|
|
#endif
|
1995-10-18 01:37:01 -07:00
|
|
|
|
|
|
|
#endif /* !_ISO646_H_ */
|