xref: /openbsd/include/iso646.h (revision 20139167)
1 /*	$OpenBSD: iso646.h,v 1.3 2001/10/11 00:05:21 espie Exp $	*/
2 /*	$NetBSD: iso646.h,v 1.1 1995/02/17 09:08:10 jtc Exp $	*/
3 
4 /*
5  * Written by J.T. Conklin <jtc@wimsey.com> 02/16/95.
6  * Public domain.
7  */
8 
9 #ifndef _ISO646_H_
10 #define _ISO646_H_
11 
12 #ifndef __cplusplus
13 #define and	&&
14 #define and_eq	&=
15 #define bitand	&
16 #define bitor	|
17 #define compl	~
18 #define not	!
19 #define not_eq	!=
20 #define or	||
21 #define or_eq	|=
22 #define xor	^
23 #define xor_eq	^=
24 #endif
25 
26 #endif	/* !_ISO646_H_ */
27