win32, ...: avoid including windows.h
Include the most specific header documented by MSDN instead.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user