]> git.proxmox.com Git - mirror_edk2.git/blob - StdLib/Include/iso646.h
Standard Libraries for EDK II.
[mirror_edk2.git] / StdLib / Include / iso646.h
1 /** @file
2 Provides alternative "spellings" for several C operators.
3
4 The header <iso646.h> defines the following eleven macros (on the left) that expand
5 to the corresponding tokens (on the right).
6
7 Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
8 This program and the accompanying materials are licensed and made available under
9 the terms and conditions of the BSD License that accompanies this distribution.
10 The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php.
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 **/
16 #ifndef _ISO646_H
17 #define _ISO646_H
18 #include <sys/EfiCdefs.h>
19
20 #define and &&
21 #define and_eq &=
22 #define bitand &
23 #define bitor |
24 #define compl ~
25 #define not !
26 #define not_eq !=
27 #define or ||
28 #define or_eq |=
29 #define xor ^
30 #define xor_eq ^=
31
32 #endif /* _ISO646_H */