Author: jkim Date: Tue Sep 27 16:33:17 2011 New Revision: 225801 URL: http://svn.freebsd.org/changeset/base/225801
Log: Avoid accidental conflicts with C++ operator keywords. MFC after: 1 week Modified: head/include/iso646.h Modified: head/include/iso646.h ============================================================================== --- head/include/iso646.h Tue Sep 27 15:57:13 2011 (r225800) +++ head/include/iso646.h Tue Sep 27 16:33:17 2011 (r225801) @@ -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_ */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"