X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd0401c85e0b7e6f56e4fba5aad43cca8b92b850..4e4dc03dcce4f881bcf8ca3586128ddf40ba0eea:/src/unix/snglinst.cpp diff --git a/src/unix/snglinst.cpp b/src/unix/snglinst.cpp index ccb6788d11..d29268bbd3 100644 --- a/src/unix/snglinst.cpp +++ b/src/unix/snglinst.cpp @@ -44,7 +44,7 @@ #include #include -#include +#include // for S_I[RW]USR #include // for kill() #include @@ -153,7 +153,7 @@ LockResult wxSingleInstanceCheckerImpl::CreateLockFile() // try to open the file m_fdLock = open(m_nameLock, O_WRONLY | O_CREAT | O_EXCL, - S_IREAD | S_IWRITE); + S_IRUSR | S_IWUSR); if ( m_fdLock != -1 ) {