Fix linux bustage.
authorChris Jones <jones.chris.g@gmail.com>
Tue, 09 Feb 2010 17:04:06 -0600
changeset 46645 fe8bbab16f01319acd352bfccc5ba09e599fc40f
parent 46644 28420868f2394cbebb4568e892222a8ea8004683
child 46646 d0e79b58e9b82ea1d6ccc934b6010f39b2f0ccac
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
milestone1.9.3a2pre
Fix linux bustage.
ipc/glue/RPCChannel.cpp
--- a/ipc/glue/RPCChannel.cpp
+++ b/ipc/glue/RPCChannel.cpp
@@ -104,18 +104,20 @@ RPCChannel::RPCChannel(RPCListener* aLis
 }
 
 RPCChannel::~RPCChannel()
 {
     MOZ_COUNT_DTOR(RPCChannel);
     // FIXME/cjones: impl
 }
 
+#ifdef OS_WIN
 // static
 int RPCChannel::sInnerEventLoopDepth = 0;
+#endif
 
 bool
 RPCChannel::Call(Message* msg, Message* reply)
 {
     AssertWorkerThread();
     mMutex.AssertNotCurrentThreadOwns();
     RPC_ASSERT(!ProcessingSyncMessage(),
                "violation of sync handler invariant");