]> git.saurik.com Git - wxWidgets.git/blob - docs/mac/ansi.diff
use correct test
[wxWidgets.git] / docs / mac / ansi.diff
1 --- ansi.h.old Mon Mar 29 19:47:26 2004
2 +++ ansi.h Mon Mar 29 19:55:56 2004
3 @@ -38,6 +38,11 @@
4 #define _BSD_RUNE_T_ __WCHAR_TYPE__ /* rune_t */
5
6 +
7 + #ifndef WCHAR_MIN
8 #define WCHAR_MIN ((wchar_t) 0x80000000U)
9 + #endif
10 + #ifndef WCHAR_MAX
11 #define WCHAR_MAX ((wchar_t) 0x7FFFFFFFU)
12 + #endif
13
14 typedef wchar_t wint_t;
15 @@ -49,5 +54,9 @@
16
17 #ifndef _ANSI_SOURCE
18 - typedef _BSD_WCHAR_T_ rune_t;
19 + #ifndef _BSD_RUNE_T_DEFINED_
20 + #define _BSD_RUNE_T_DEFINED_
21 + typedef _BSD_RUNE_T_ rune_t;
22 + #endif
23 + /* typedef _BSD_WCHAR_T_ rune_t; */
24 #endif
25