From 294b585994da4427ac98a8353ff41aed5f301d54 Mon Sep 17 00:00:00 2001 From: pk33 Date: Fri, 1 Nov 2024 23:51:15 +0100 Subject: Import and fix old code --- include/musl/iso646.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/musl/iso646.h (limited to 'include/musl/iso646.h') diff --git a/include/musl/iso646.h b/include/musl/iso646.h new file mode 100644 index 0000000..88ff53d --- /dev/null +++ b/include/musl/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