Skip to content

Commit 652c5e0

Browse files
committed
threading: Fix build on MinGW
1 parent d833826 commit 652c5e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/include/utils/threading.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ typedef struct
533533
// Note that on Android AttachCurrentThread will reset the thread name.
534534
static void ksThread_SetName( const char * name )
535535
{
536-
#if defined( OS_WINDOWS )
536+
#if defined( OS_WINDOWS ) && !defined(__MINGW32__)
537537
static const unsigned int MS_VC_EXCEPTION = 0x406D1388;
538538

539539
#pragma pack( push, 8 )

0 commit comments

Comments
 (0)