From 71bfad1a4af9f35dd03b3a065030dc56073f2055 Mon Sep 17 00:00:00 2001 From: "lllucius@gmail.com" Date: Fri, 5 Dec 2014 16:12:35 +0000 Subject: [PATCH] Guess I was too lazy to test build on OSX... :-( --- src/AudacityApp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AudacityApp.cpp b/src/AudacityApp.cpp index 70d637282..454384b93 100644 --- a/src/AudacityApp.cpp +++ b/src/AudacityApp.cpp @@ -1593,9 +1593,11 @@ bool AudacityApp::CreateSingleInstanceChecker(wxString dir) wxString name = wxString::Format(wxT("audacity-lock-%s"), wxGetUserId().c_str()); mChecker = new wxSingleInstanceChecker(); +#if defined(__WXMSW__) || defined(__WXGTK__) wxString appl = IPC_APPL; #if defined(__WXGTK__) appl.Printf(wxT("%s/%s.sock"), dir.c_str(), IPC_APPL); +#endif #endif wxString runningTwoCopiesStr = _("Running two copies of Audacity simultaneously may cause\ndata loss or cause your system to crash.\n\n");