summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/unicode.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-04-07 14:44:25 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-04-07 14:52:54 +0200
commit46a77350b35dbcc93f987eb052d0cacb71a0db2d (patch)
treeef56bbdb37bddc83c56c62d335322f616d818374 /crawl-ref/source/unicode.cc
parent37816e6b376e140e5c986bf17b6da957429c475a (diff)
downloadcrawl-ref-46a77350b35dbcc93f987eb052d0cacb71a0db2d.tar.gz
crawl-ref-46a77350b35dbcc93f987eb052d0cacb71a0db2d.zip
Staticify.
Diffstat (limited to 'crawl-ref/source/unicode.cc')
-rw-r--r--crawl-ref/source/unicode.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/unicode.cc b/crawl-ref/source/unicode.cc
index 3768c12e5e..64f98fda24 100644
--- a/crawl-ref/source/unicode.cc
+++ b/crawl-ref/source/unicode.cc
@@ -136,6 +136,9 @@ wstring utf8_to_16(const char *s)
}
#endif
+#ifndef TARGET_OS_WINDOWS
+static
+#endif
string utf16_to_8(const utf16_t *s)
{
string d;