patch-test_main_h 710 B

1234567891011121314151617
  1. $OpenBSD: patch-test_main_h,v 1.1.1.1 2014/07/10 08:59:52 zhuk Exp $
  2. This test fails, and we actually DO provide min() and max() correctly,
  3. so disable it.
  4. --- test/main.h.orig Wed Oct 23 04:05:35 2013
  5. +++ test/main.h Wed Oct 23 04:06:14 2013
  6. @@ -24,8 +24,8 @@
  7. #include <deque>
  8. #include <queue>
  9. -#define min(A,B) please_protect_your_min_with_parentheses
  10. -#define max(A,B) please_protect_your_max_with_parentheses
  11. +// #define min(A,B) please_protect_your_min_with_parentheses
  12. +// #define max(A,B) please_protect_your_max_with_parentheses
  13. #define FORBIDDEN_IDENTIFIER (this_identifier_is_forbidden_to_avoid_clashes) this_identifier_is_forbidden_to_avoid_clashes
  14. // B0 is defined in POSIX header termios.h