summaryrefslogtreecommitdiff
path: root/mail/thunderbird-esr/files/patch-bug729155
blob: b4791bb1141a2390c9abb5c8e2675fcbfbc8216d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- mozilla/dom/plugins/ipc/PluginMessageUtils.cpp
+++ mozilla/dom/plugins/ipc/PluginMessageUtils.cpp
@@ -114,6 +114,7 @@ MediateRace(const RPCChannel::Message& parent,
   }
 }
 
+#if defined(OS_LINUX)
 static string
 ReplaceAll(const string& haystack, const string& needle, const string& with)
 {
@@ -127,6 +128,7 @@ ReplaceAll(const string& haystack, const string& needle, const string& with)
 
   return munged;
 }
+#endif
 
 string
 MungePluginDsoPath(const string& path)