Skip to content
Snippets Groups Projects
Commit 4e012e77 authored by Rob Swindell's avatar Rob Swindell :speech_balloon: Committed by echicken
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 f3d5122f
No related branches found
No related tags found
No related merge requests found
...@@ -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