mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2026-01-01 03:12:13 +08:00
mingw: lower case for mingw new Windows.h includes
This commit is contained in:
parent
858a7a6e38
commit
a8752fd170
@ -4,7 +4,11 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#include "libipc/imp/codecvt.h"
|
||||
#include "libipc/imp/detect_plat.h"
|
||||
|
||||
@ -7,7 +7,11 @@
|
||||
#include <exception>
|
||||
#include <type_traits>
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
#include <tchar.h>
|
||||
|
||||
#include "libipc/imp/system.h"
|
||||
|
||||
@ -37,8 +37,11 @@ TEST(PThread, Robust) {
|
||||
pthread_mutex_destroy(&mutex);
|
||||
}
|
||||
#elif defined(LIBIPC_OS_WIN)
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <tchar.h>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user