Avoid accidental conflicts with C++ operator keywords.
MFC after: 1 week
This commit is contained in:
parent
27274e81b2
commit
7331c16912
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225801
|
@ -29,6 +29,8 @@
|
|||
#ifndef _ISO646_H_
|
||||
#define _ISO646_H_
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
#define and &&
|
||||
#define and_eq &=
|
||||
#define bitand &
|
||||
|
@ -41,4 +43,6 @@
|
|||
#define xor ^
|
||||
#define xor_eq ^=
|
||||
|
||||
#endif /* !__cplusplus */
|
||||
|
||||
#endif /* !_ISO646_H_ */
|
||||
|
|
Loading…
Reference in New Issue