mirror of
https://github.com/mintsuki/freestanding-headers
synced 2024-11-22 04:21:20 +03:00
Misc updates to iso646.h to improve resiliency
This commit is contained in:
parent
03eaceb8ac
commit
e5667ae492
15
iso646.h
15
iso646.h
@ -1,16 +1,31 @@
|
||||
#ifndef __FSTD_HDRS_ISO646_H
|
||||
#define __FSTD_HDRS_ISO646_H 1
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
#undef and
|
||||
#define and &&
|
||||
#undef and_eq
|
||||
#define and_eq &=
|
||||
#undef bitand
|
||||
#define bitand &
|
||||
#undef bitor
|
||||
#define bitor |
|
||||
#undef compl
|
||||
#define compl ~
|
||||
#undef not
|
||||
#define not !
|
||||
#undef not_eq
|
||||
#define not_eq !=
|
||||
#undef or
|
||||
#define or ||
|
||||
#undef or_eq
|
||||
#define or_eq |=
|
||||
#undef xor
|
||||
#define xor ^
|
||||
#undef xor_eq
|
||||
#define xor_eq ^=
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user