blob: 8c96582be9ed009266846debfd1fe45597997e88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- src/serialization/string_utils.cpp.orig Mon Oct 3 14:41:14 2005
+++ src/serialization/string_utils.cpp Mon Oct 3 14:42:37 2005
@@ -565,7 +565,7 @@
{
if(s.size() > 0) {
utf8_iterator itor(s);
-#ifdef __APPLE__
+#if __FreeBSD__ < 5
// FIXME: Should we support towupper on recent OSX platforms?
wchar_t uchar = *itor;
if(uchar >= 0 && uchar < 0x100)
@@ -587,7 +587,7 @@
std::string res;
for(;itor != utf8_iterator::end(s); ++itor) {
-#ifdef __APPLE__
+#if __FreeBSD__ < 5
// FIXME: Should we support towupper on recent OSX platforms?
wchar_t uchar = *itor;
if(uchar >= 0 && uchar < 0x100)
@@ -610,7 +610,7 @@
std::string res;
for(;itor != utf8_iterator::end(s); ++itor) {
-#if defined(__APPLE__) || defined(__OpenBSD__)
+#if defined(__APPLE__) || defined(__OpenBSD__) || __FreeBSD__ < 5
// FIXME: Should we support towupper on recent OSX platforms?
wchar_t uchar = *itor;
if(uchar >= 0 && uchar < 0x100)
|