Skip to content
Snippets Groups Projects
Commit 3e56bf5f authored by Steve Lhomme's avatar Steve Lhomme
Browse files

vlc_fixup: include processthreadsapi to get GetCurrentProcessId() on Windows

parent ff5d0011
No related branches found
No related tags found
1 merge request!3862reorder/clean includes so windows.h is never included before winsock headers
......@@ -348,6 +348,7 @@ int gettimeofday(struct timeval *, struct timezone *);
#include <winapifamily.h>
#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
// getpid is incorrectly detected in UWP so we won't use the compat version
#include <processthreadsapi.h>
#define getpid() GetCurrentProcessId()
#endif
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment