10c20d793SAlexander Langer /*- 2*e58eb3c4SPedro F. Giffuni * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3*e58eb3c4SPedro F. Giffuni * 40c20d793SAlexander Langer * Copyright (c) 1998 Alex Nash 50c20d793SAlexander Langer * All rights reserved. 60c20d793SAlexander Langer * 70c20d793SAlexander Langer * Redistribution and use in source and binary forms, with or without 80c20d793SAlexander Langer * modification, are permitted provided that the following conditions 90c20d793SAlexander Langer * are met: 100c20d793SAlexander Langer * 1. Redistributions of source code must retain the above copyright 110c20d793SAlexander Langer * notice, this list of conditions and the following disclaimer. 120c20d793SAlexander Langer * 2. Redistributions in binary form must reproduce the above copyright 130c20d793SAlexander Langer * notice, this list of conditions and the following disclaimer in the 140c20d793SAlexander Langer * documentation and/or other materials provided with the distribution. 150c20d793SAlexander Langer * 160c20d793SAlexander Langer * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 170c20d793SAlexander Langer * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 180c20d793SAlexander Langer * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 190c20d793SAlexander Langer * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 200c20d793SAlexander Langer * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 210c20d793SAlexander Langer * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 220c20d793SAlexander Langer * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 230c20d793SAlexander Langer * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 240c20d793SAlexander Langer * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 250c20d793SAlexander Langer * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 260c20d793SAlexander Langer * SUCH DAMAGE. 270c20d793SAlexander Langer * 28a4add9a9SPeter Wemm * $FreeBSD$ 290c20d793SAlexander Langer */ 300c20d793SAlexander Langer 310c20d793SAlexander Langer #ifndef _ISO646_H_ 320c20d793SAlexander Langer #define _ISO646_H_ 330c20d793SAlexander Langer 347331c169SJung-uk Kim #ifndef __cplusplus 357331c169SJung-uk Kim 360c20d793SAlexander Langer #define and && 370c20d793SAlexander Langer #define and_eq &= 380c20d793SAlexander Langer #define bitand & 390c20d793SAlexander Langer #define bitor | 400c20d793SAlexander Langer #define compl ~ 410c20d793SAlexander Langer #define not ! 420c20d793SAlexander Langer #define not_eq != 430c20d793SAlexander Langer #define or || 440c20d793SAlexander Langer #define or_eq |= 450c20d793SAlexander Langer #define xor ^ 460c20d793SAlexander Langer #define xor_eq ^= 470c20d793SAlexander Langer 487331c169SJung-uk Kim #endif /* !__cplusplus */ 497331c169SJung-uk Kim 506c12aec0SBruce Evans #endif /* !_ISO646_H_ */ 51