1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-24 16:20:05 +02:00

Guess I was too lazy to test build on OSX... :-(

This commit is contained in:
lllucius@gmail.com 2014-12-05 16:12:35 +00:00
parent f19007b6de
commit 71bfad1a4a

View File

@ -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");