Author: jkim
Date: Wed Oct  5 15:52:40 2011
New Revision: 226038
URL: http://svn.freebsd.org/changeset/base/226038

Log:
  MFC:  r225801
  
  Avoid accidental conflicts with C++ operator keywords.

Modified:
  stable/7/include/iso646.h
Directory Properties:
  stable/7/include/   (props changed)

Modified: stable/7/include/iso646.h
==============================================================================
--- stable/7/include/iso646.h   Wed Oct  5 15:52:04 2011        (r226037)
+++ stable/7/include/iso646.h   Wed Oct  5 15:52:40 2011        (r226038)
@@ -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_ */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to