We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39bc60a commit aa24f38Copy full SHA for aa24f38
1 file changed
Include/httpClient/pal.h
@@ -498,7 +498,8 @@ enum class HCWebSocketCloseStatus : uint32_t
498
499
// On some platforms, std::mutex default construction creates named mutexes which have a low
500
// system-wide limit. DefaultUnnamedMutex forces unnamed mutex construction on affected platforms.
501
-#if HC_PLATFORM == HC_PLATFORM_SONY_PLAYSTATION_5
+// Define HC_USE_UNNAMED_MUTEX in your platform build props to enable the workaround.
502
+#if defined(HC_USE_UNNAMED_MUTEX)
503
class DefaultUnnamedMutex : public std::mutex
504
{
505
public:
0 commit comments