185892Smike/*-
285892Smike * Copyright (c) 1998 Alex Nash
385892Smike * All rights reserved.
485892Smike *
585892Smike * Redistribution and use in source and binary forms, with or without
685892Smike * modification, are permitted provided that the following conditions
785892Smike * are met:
885892Smike * 1. Redistributions of source code must retain the above copyright
985892Smike *    notice, this list of conditions and the following disclaimer.
1085892Smike * 2. Redistributions in binary form must reproduce the above copyright
1185892Smike *    notice, this list of conditions and the following disclaimer in the
1285892Smike *    documentation and/or other materials provided with the distribution.
1385892Smike *
1485892Smike * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1585892Smike * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1685892Smike * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1785892Smike * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1885892Smike * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1985892Smike * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2085892Smike * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2185892Smike * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2285892Smike * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2385892Smike * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2485892Smike * SUCH DAMAGE.
2585892Smike *
2685892Smike * $FreeBSD$
2785892Smike */
2885892Smike
2985892Smike#ifndef _ISO646_H_
3085892Smike#define	_ISO646_H_
3185892Smike
3285892Smike#ifndef __cplusplus
3385892Smike
3485892Smike#define	and	&&
35205954Sjmallett#define	and_eq	&=
36205954Sjmallett#define	bitand	&
37205954Sjmallett#define	bitor	|
38205954Sjmallett#define	compl	~
39205954Sjmallett#define	not	!
40205954Sjmallett#define	not_eq	!=
41205954Sjmallett#define	or	||
4285892Smike#define	or_eq	|=
4385892Smike#define	xor	^
4485892Smike#define	xor_eq	^=
4585892Smike
4685892Smike#endif /* !__cplusplus */
4788962Smike
48233600Stheraven#endif /* !_ISO646_H_ */
49233600Stheraven