Skip to content

Commit 50f1cf1

Browse files
committed
threading: Fix build on MinGW
1 parent 4eb5ead commit 50f1cf1

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
@@ -535,7 +535,7 @@ typedef struct
535535
// Note that on Android AttachCurrentThread will reset the thread name.
536536
static void ksThread_SetName( const char * name )
537537
{
538-
#if defined( OS_WINDOWS )
538+
#if defined( OS_WINDOWS ) && !defined(__MINGW32__)
539539
static const unsigned int MS_VC_EXCEPTION = 0x406D1388;
540540

541541
#pragma pack( push, 8 )

0 commit comments

Comments
 (0)