summaryrefslogtreecommitdiff
path: root/include/iso646.h
blob: 535e96bcf83e413a1d5a52f39b5f97fa992e93ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*	$OpenBSD: iso646.h,v 1.3 2001/10/11 00:05:21 espie Exp $	*/
/*	$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_

#ifndef __cplusplus
#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	^=
#endif

#endif	/* !_ISO646_H_ */