diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-02-14 22:46:49 +0800 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-03-02 21:29:23 +0800 |
| commit | f720577fb80af171d3672c081297c8686e5d65f2 (patch) | |
| tree | 08abf919869e92169f0767c217aee45534dcf766 /src/ipc/mod.rs | |
| parent | 2fc9fa299a68b53277bead0909557c9b1a963702 (diff) | |
| download | mullvadvpn-f720577fb80af171d3672c081297c8686e5d65f2.tar.xz mullvadvpn-f720577fb80af171d3672c081297c8686e5d65f2.zip | |
Use a non-functioning NOP impl of IpcServer for windows
Diffstat (limited to 'src/ipc/mod.rs')
| -rw-r--r-- | src/ipc/mod.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ipc/mod.rs b/src/ipc/mod.rs index 26485f8260..afb140f4c6 100644 --- a/src/ipc/mod.rs +++ b/src/ipc/mod.rs @@ -1,4 +1,12 @@ -pub mod zmq; +#[cfg(windows)] +#[path = "nop_ipc.rs"] +mod ipc_impl; + +#[cfg(not(windows))] +#[path = "zmq_ipc.rs"] +mod ipc_impl; + +pub use self::ipc_impl::*; /// The type signature for functions accepting messages from the server. /// If the server fails in delivering the message for any reason it will |
