diff --git a/Common/helper_multiprocess.h b/Common/helper_multiprocess.h index 7335e406..c1033579 100644 --- a/Common/helper_multiprocess.h +++ b/Common/helper_multiprocess.h @@ -54,8 +54,14 @@ #endif #include +// The Unix domain sockets creating folder on QNX has been restricted to qnx6-mounted directories since QNX SDP 8.0.3. +#if defined(__QNX__) + #include + inline std::string getSocketFolder() { + return "/storage"; + } // Simple filesystem compatibility for GCC 8.x -#if defined(__GNUC__) && __GNUC__ < 9 +#elif defined(__GNUC__) && __GNUC__ < 9 #include #include inline std::string getSocketFolder() {