Avoid accidental conflicts with C++ operator keywords.
MFC after: 1 week
This commit is contained in:
parent
27274e81b2
commit
7331c16912
@ -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…
x
Reference in New Issue
Block a user