aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/generic-netbsd/iso646.h
blob: 429a2c1b17a2e85121b9f3cad9ed3fb5d04ad442 (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
/*	$NetBSD: iso646.h,v 1.2 2013/04/26 10:58:45 joerg 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_ */