Skip to content
Snippets Groups Projects
Commit b3c536e4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
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
Branches
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2752 passed
...@@ -75,7 +75,7 @@ extern "C" { ...@@ -75,7 +75,7 @@ extern "C" {
#else /* Implemented as Win32 Critical Sections */ #else /* Implemented as Win32 Critical Sections */
typedef intptr_t pthread_mutex_t; typedef CRITICAL_SECTION pthread_mutex_t;
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment