From acac38afb2c97e21bf1b0aa3262081d027ea3668 Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Sun, 13 Jan 2019 10:24:50 +0100 Subject: [PATCH] Add C99 compiliant iso646.h header --- win32/include/iso646.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 win32/include/iso646.h diff --git a/win32/include/iso646.h b/win32/include/iso646.h new file mode 100644 index 00000000..02770f6b --- /dev/null +++ b/win32/include/iso646.h @@ -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 + */ + +#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_ */ + + + + + + + + + +