bug1838113.patch (681B)
1 diff --git a/src/csutil.cxx b/src/csutil.cxx 2 index 48e58ff4b2677..39a54d38023c8 100644 3 --- a/src/csutil.cxx 4 +++ b/src/csutil.cxx 5 @@ -108,6 +108,7 @@ static struct unicode_info2* utf_tbl = NULL; 6 static int utf_tbl_count = 7 0; // utf_tbl can be used by multiple Hunspell instances 8 9 +#ifndef MOZILLA_CLIENT 10 void myopen(std::ifstream& stream, const char* path, std::ios_base::openmode mode) 11 { 12 #if defined(_WIN32) && defined(_MSC_VER) 13 @@ -127,6 +128,7 @@ void myopen(std::ifstream& stream, const char* path, std::ios_base::openmode mod 14 #endif 15 stream.open(path, mode); 16 } 17 +#endif 18 19 std::string& u16_u8(std::string& dest, const std::vector<w_char>& src) { 20 dest.clear();