From d297a816afe24a2e06408e3d195e04be62816841 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 30 Aug 2011 02:59:11 +0000 Subject: [PATCH] whoops, windows-specific function --- direct/src/plugin/wstring_encode.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/direct/src/plugin/wstring_encode.cxx b/direct/src/plugin/wstring_encode.cxx index 13e0b113c3..83c8179cfd 100755 --- a/direct/src/plugin/wstring_encode.cxx +++ b/direct/src/plugin/wstring_encode.cxx @@ -71,6 +71,7 @@ string_to_wstring(wstring &result, const string &source) { } #endif // _WIN32 +#ifdef _WIN32 //////////////////////////////////////////////////////////////////// // Function: wstring ostream operator // Description: Converts the wstring to utf-8 for output. @@ -83,3 +84,4 @@ operator << (ostream &out, const wstring &str) { } return out; } +#endif // _WIN32