iso646.h revision 50473
138001Salex/*-
238001Salex * Copyright (c) 1998 Alex Nash
338001Salex * All rights reserved.
438001Salex *
538001Salex * Redistribution and use in source and binary forms, with or without
638001Salex * modification, are permitted provided that the following conditions
738001Salex * are met:
838001Salex * 1. Redistributions of source code must retain the above copyright
938001Salex *    notice, this list of conditions and the following disclaimer.
1038001Salex * 2. Redistributions in binary form must reproduce the above copyright
1138001Salex *    notice, this list of conditions and the following disclaimer in the
1238001Salex *    documentation and/or other materials provided with the distribution.
1338001Salex *
1438001Salex * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1538001Salex * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1638001Salex * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1738001Salex * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1838001Salex * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1938001Salex * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2038001Salex * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2138001Salex * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2238001Salex * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2338001Salex * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2438001Salex * SUCH DAMAGE.
2538001Salex *
2650473Speter * $FreeBSD: head/include/iso646.h 50473 1999-08-27 23:45:13Z peter $
2738001Salex */
2838001Salex
2938001Salex#ifndef _ISO646_H_
3038001Salex#define _ISO646_H_
3138001Salex
3238001Salex#define and	&&
3338001Salex#define and_eq	&=
3438001Salex#define bitand	&
3538001Salex#define bitor	|
3638001Salex#define compl	~
3738001Salex#define not	!
3838001Salex#define not_eq	!=
3938001Salex#define or	||
4038001Salex#define or_eq	|=
4138001Salex#define xor	^
4238001Salex#define xor_eq	^=
4338001Salex
4438051Sbde#endif /* !_ISO646_H_ */
45