Add C99 compiliant iso646.h header

This commit is contained in:
Christian Jullien 2019-01-13 10:24:50 +01:00
parent 45b8b0e57d
commit acac38afb2

36
win32/include/iso646.h Normal file
View File

@ -0,0 +1,36 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the TinyCC package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
/*
* ISO C Standard: 7.9 Alternative spellings <iso646.h>
*/
#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 /* _ISO646_H_ */