From 4abab5ad6c8465a7528ccdd5f49367da05f78bbd Mon Sep 17 00:00:00 2001 From: Vladimir Azarov Date: Tue, 1 Oct 2024 15:47:05 +0200 Subject: Initial version --- include/iso646.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/iso646.h (limited to 'include/iso646.h') diff --git a/include/iso646.h b/include/iso646.h new file mode 100644 index 0000000..88ff53d --- /dev/null +++ b/include/iso646.h @@ -0,0 +1,20 @@ +#ifndef _ISO646_H +#define _ISO646_H + +#ifndef __cplusplus + +#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 + +#endif -- cgit v1.2.3