Commit b3c536e4 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

pthread_mutex_t is a CRITICAL_SECTION (not a pointer) on Win32

Partially revert Deuce's commit b4bc9c97

This explains the EAccessViolation (stack corruption during sbbs startup) that sysops have reported when using the latest nightly builds.
parent cb76b146
Pipeline #2752 passed with stage
in 9 minutes and 33 seconds
......@@ -75,7 +75,7 @@ extern "C" {
#else /* Implemented as Win32 Critical Sections */
typedef intptr_t pthread_mutex_t;
typedef CRITICAL_SECTION pthread_mutex_t;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment