summaryrefslogtreecommitdiff
path: root/tool/patches/wchar_t.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-12 21:48:40 +0000
committerJay Freeman <saurik@saurik.com>2008-06-12 21:48:40 +0000
commitc27a92457f665f053e3872aa64c4569be0ca06a5 (patch)
treea652165570bb7608c3aca19426220eb12657a3bb /tool/patches/wchar_t.diff
parenta6b322f346c04ff7c39eb0c486e92725f3873e42 (diff)
Added current Telesphoreo patches.
git-svn-id: http://svn.telesphoreo.org/trunk@301 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'tool/patches/wchar_t.diff')
-rw-r--r--tool/patches/wchar_t.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/tool/patches/wchar_t.diff b/tool/patches/wchar_t.diff
new file mode 100644
index 000000000..cede076d5
--- /dev/null
+++ b/tool/patches/wchar_t.diff
@@ -0,0 +1,28 @@
+diff --git /usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h /usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h
+index b570daa..3309946 100644
+--- /usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h
++++ /usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h
+@@ -127,7 +127,7 @@ namespace std
+ #define _GLIBCXX_USE_C99_COMPLEX 1
+
+ // Define if code specialized for wchar_t should be used.
+-#define _GLIBCXX_USE_WCHAR_T 1
++/* #undef _GLIBCXX_USE_WCHAR_T */
+
+ // Define if using setrlimit to set resource limits during 'make check'.
+ #define _GLIBCXX_RES_LIMITS 1
+diff --git /usr/include/c++/4.0.0/bits/stringfwd.h /usr/include/c++/4.0.0/bits/stringfwd.h
+index 99d3ce3..cc033d6 100644
+--- /usr/include/c++/4.0.0/bits/stringfwd.h
++++ /usr/include/c++/4.0.0/bits/stringfwd.h
+@@ -61,9 +61,9 @@ namespace std
+
+ #ifdef _GLIBCXX_USE_WCHAR_T
+ template<> struct char_traits<wchar_t>;
++#endif
+
+ typedef basic_string<wchar_t> wstring;
+-#endif
+ } // namespace std
+
+ #endif // _STRINGFWD_H