From: Julian Smart Date: Tue, 30 Mar 2004 16:42:18 +0000 (+0000) Subject: More installation instruction tweaks X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ef3f71c3d8eabf6b7ac31d662dca6e631c29a886 More installation instruction tweaks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/mac/ansi.diff b/docs/mac/ansi.diff new file mode 100644 index 0000000000..4df4f475f3 --- /dev/null +++ b/docs/mac/ansi.diff @@ -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 + diff --git a/docs/mac/install.txt b/docs/mac/install.txt index bb54fd5dc9..ec1227d3ed 100644 --- a/docs/mac/install.txt +++ b/docs/mac/install.txt @@ -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 -------