root / lab4 / .minix-src / include / iso646.h @ 13
History | View | Annotate | Download (413 Bytes)
1 | 13 | up20180614 | /* $NetBSD: iso646.h,v 1.2 2013/04/26 10:58:45 joerg Exp $ */
|
---|---|---|---|
2 | |||
3 | /*
|
||
4 | * Written by J.T. Conklin <jtc@wimsey.com> 02/16/95.
|
||
5 | * Public domain.
|
||
6 | */
|
||
7 | |||
8 | #ifndef _ISO646_H_
|
||
9 | #define _ISO646_H_
|
||
10 | |||
11 | #ifndef __cplusplus
|
||
12 | #define and &&
|
||
13 | #define and_eq &=
|
||
14 | #define bitand &
|
||
15 | #define bitor |
|
||
16 | #define compl ~
|
||
17 | #define not !
|
||
18 | #define not_eq !=
|
||
19 | #define or ||
|
||
20 | #define or_eq |=
|
||
21 | #define xor ^
|
||
22 | #define xor_eq ^=
|
||
23 | #endif
|
||
24 | |||
25 | #endif /* !_ISO646_H_ */ |