[vlc-commits] [Git][videolan/vlc][master] win32: thread: don't redefine SetThreadDescription with newer mingw-w64
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Nov 18 12:16:32 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
d689072f by Steve Lhomme at 2024-11-18T12:01:59+00:00
win32: thread: don't redefine SetThreadDescription with newer mingw-w64
Eventually the check can go away.
- - - - -
1 changed file:
- src/win32/thread.c
Changes:
=====================================
src/win32/thread.c
=====================================
@@ -52,8 +52,7 @@
#define NTDDI_WIN10_RS1 0x0A000002
#endif
-#if NTDDI_VERSION >= NTDDI_WIN10_RS1 && defined(__MINGW64_VERSION_MAJOR)
-// SetThreadDescription is not defined yet in mingw64
+#if NTDDI_VERSION >= NTDDI_WIN10_RS1 && defined(__MINGW64_VERSION_MAJOR) && __MINGW64_VERSION_MAJOR < 10
WINBASEAPI HRESULT WINAPI SetThreadDescription(HANDLE,PCWSTR);
#endif
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d689072f0de51a933ba3a1de248cabcb4b19d207
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d689072f0de51a933ba3a1de248cabcb4b19d207
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list