[cfe-commits] r51360 - /cfe/trunk/lib/Headers/iso646.h
Eli Friedman
eli.friedman at gmail.com
Tue May 20 20:11:33 PDT 2008
Author: efriedma
Date: Tue May 20 22:11:31 2008
New Revision: 51360
URL: http://llvm.org/viewvc/llvm-project?rev=51360&view=rev
Log:
Protect iso646.h from C++ (although I can't imagine why someone would
need it...). Patch by Mike Stump.
Modified:
cfe/trunk/lib/Headers/iso646.h
Modified: cfe/trunk/lib/Headers/iso646.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/iso646.h?rev=51360&r1=51359&r2=51360&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/iso646.h (original)
+++ cfe/trunk/lib/Headers/iso646.h Tue May 20 22:11:31 2008
@@ -26,6 +26,7 @@
#ifndef __ISO646_H
#define __ISO646_H
+#ifndef __cplusplus
#define and &&
#define and_eq &=
#define bitand &
@@ -37,5 +38,6 @@
#define or_eq |=
#define xor ^
#define xor_eq ^=
+#endif
#endif /* __ISO646_H */
More information about the cfe-commits
mailing list