Merge tag 'v0.22.7'

release v0.22.7
This commit is contained in:
Max Kellermann
2021-05-19 18:43:19 +02:00
33 changed files with 208 additions and 82 deletions

View File

@@ -30,7 +30,7 @@
#ifndef THREAD_CRITICAL_SECTION_HXX
#define THREAD_CRITICAL_SECTION_HXX
#include <windows.h>
#include <synchapi.h>
/**
* Wrapper for a CRITICAL_SECTION, backend for the Mutex class.

View File

@@ -33,7 +33,7 @@
#include "util/Compiler.h"
#ifdef _WIN32
#include <windows.h>
#include <processthreadsapi.h>
#else
#include <pthread.h>
#endif

View File

@@ -26,7 +26,7 @@
#include <cassert>
#ifdef _WIN32
#include <windows.h>
#include <processthreadsapi.h>
#else
#include <pthread.h>
#endif

View File

@@ -32,6 +32,9 @@
#include "CriticalSection.hxx"
#include <windef.h> // for HWND (needed by winbase.h)
#include <winbase.h> // for INFINITE
#include <chrono>
#include <mutex>