764d835f3f
Release Note: http://www.wesnoth.org/start/1.0/ ChangeLog: http://changelog.wesnoth.org/ - Fix the build for FreeBSD 4.x, mark it as un-broke. [1] Submitted by: vs [1]
29 lines
963 B
Text
29 lines
963 B
Text
--- 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)
|