History

Add C99 compiliant iso646.h header

Christian Jullien committed 7 years ago

Commit acac38a1 parent 45b8b0e1 file · +36 −0Browse files

Unified · Split

win32/include/iso646.h+36−0
@@ -0,0 +1,36 @@
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the TinyCC package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6
7/*
8 * ISO C Standard: 7.9 Alternative spellings <iso646.h>
9 */
10
11#ifndef _ISO646_H_
12#define _ISO646_H_
13
14#define and &&
15#define and_eq &=
16#define bitand &
17#define bitor |
18#define compl ~
19#define not !
20#define not_eq !=
21#define or ||
22#define or_eq |=
23#define xor ^
24#define xor_eq ^=
25
26#endif /* _ISO646_H_ */
27
28
29
30
31
32
33
34
35
36

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t