More installation instruction tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-03-30 16:42:18 +00:00
parent 0f0fd26d13
commit ef3f71c3d8
2 changed files with 34 additions and 0 deletions

25
docs/mac/ansi.diff Normal file
View File

@ -0,0 +1,25 @@
--- ansi.h.old Mon Mar 29 19:47:26 2004
+++ ansi.h Mon Mar 29 19:55:56 2004
@@ -38,6 +38,11 @@
#define _BSD_RUNE_T_ __WCHAR_TYPE__ /* rune_t */
+
+ #ifndef WCHAR_MIN
#define WCHAR_MIN ((wchar_t) 0x80000000U)
+ #endif
+ #ifndef WCHAR_MAX
#define WCHAR_MAX ((wchar_t) 0x7FFFFFFFU)
+ #endif
typedef wchar_t wint_t;
@@ -49,5 +54,9 @@
#ifndef _ANSI_SOURCE
- typedef _BSD_WCHAR_T_ rune_t;
+ #ifndef _BSD_RUNE_T_DEFINED_
+ #define _BSD_RUNE_T_DEFINED_
+ typedef _BSD_RUNE_T_ rune_t;
+ #endif
+ /* typedef _BSD_WCHAR_T_ rune_t; */
#endif

View File

@ -44,6 +44,15 @@ CodeWarrior Pro 5:Pre-Release:Carbon & MacOSX Development:Carbonized MSL and
CodeWarrior Pro 5:Pre-Release:Carbon & MacOSX Development:Carbonized Runtimes
(consult the file CodeWarrior Pro 5:Pre-Release:Carbon & MacOSX Development:Carbon & MacOSX README)
Patching headers: CodeWarrior 8.x
---------------------------------
If you run into trouble with WCHAR_MIN and WCHAR_MAX in ansi.h,
apply the patch ansi.diff.
You may also need to comment out the _T definition in
ctype.h if you get multiple definition errors.
setup.h
-------