iso646.h revision 50473
1161748Scperciva/*-
2161748Scperciva * Copyright (c) 1998 Alex Nash
3161748Scperciva * All rights reserved.
4173441Scperciva *
5161748Scperciva * Redistribution and use in source and binary forms, with or without
6161748Scperciva * modification, are permitted provided that the following conditions
7161748Scperciva * are met:
8161748Scperciva * 1. Redistributions of source code must retain the above copyright
9161748Scperciva *    notice, this list of conditions and the following disclaimer.
10161748Scperciva * 2. Redistributions in binary form must reproduce the above copyright
11161748Scperciva *    notice, this list of conditions and the following disclaimer in the
12161748Scperciva *    documentation and/or other materials provided with the distribution.
13161748Scperciva *
14161748Scperciva * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15161748Scperciva * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16161748Scperciva * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17161748Scperciva * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18161748Scperciva * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19161748Scperciva * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20161748Scperciva * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21161748Scperciva * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22161748Scperciva * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23161748Scperciva * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24161748Scperciva * SUCH DAMAGE.
25161748Scperciva *
26161748Scperciva * $FreeBSD: head/include/iso646.h 50473 1999-08-27 23:45:13Z peter $
27161748Scperciva */
28161748Scperciva
29161748Scperciva#ifndef _ISO646_H_
30161748Scperciva#define _ISO646_H_
31161748Scperciva
32161748Scperciva#define and	&&
33161748Scperciva#define and_eq	&=
34161748Scperciva#define bitand	&
35161748Scperciva#define bitor	|
36161748Scperciva#define compl	~
37161748Scperciva#define not	!
38161748Scperciva#define not_eq	!=
39161748Scperciva#define or	||
40161748Scperciva#define or_eq	|=
41161748Scperciva#define xor	^
42161748Scperciva#define xor_eq	^=
43161748Scperciva
44161748Scperciva#endif /* !_ISO646_H_ */
45161748Scperciva