65816-llvm-mos/runtime/include/iso646.h
2026-10-13 13:58:56 -05:00

24 lines
637 B
C

// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// C95 iso646.h — alternative spellings of the C operators. Mandated
// by C11 for portability with sources written under older standards
// or in code-pages without the punctuation symbols.
#ifndef _ISO646_H
#define _ISO646_H
#define and &&
#define and_eq &=
#define bitand &
#define bitor |
#define compl ~
#define not !
#define not_eq !=
#define or ||
#define or_eq |=
#define xor ^
#define xor_eq ^=
#endif