iso646.h 502 B

1234567891011121314151617181920212223242526
  1. /* $OpenBSD: iso646.h,v 1.3 2001/10/11 00:05:21 espie Exp $ */
  2. /* $NetBSD: iso646.h,v 1.1 1995/02/17 09:08:10 jtc Exp $ */
  3. /*
  4. * Written by J.T. Conklin <jtc@wimsey.com> 02/16/95.
  5. * Public domain.
  6. */
  7. #ifndef _ISO646_H_
  8. #define _ISO646_H_
  9. #ifndef __cplusplus
  10. #define and &&
  11. #define and_eq &=
  12. #define bitand &
  13. #define bitor |
  14. #define compl ~
  15. #define not !
  16. #define not_eq !=
  17. #define or ||
  18. #define or_eq |=
  19. #define xor ^
  20. #define xor_eq ^=
  21. #endif
  22. #endif /* !_ISO646_H_ */