mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2026-02-09 11:16:41 +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
|
#pragma once
|
||||||
|
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#include <windows.h>
|
||||||
|
#else
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "libipc/imp/codecvt.h"
|
#include "libipc/imp/codecvt.h"
|
||||||
#include "libipc/imp/detect_plat.h"
|
#include "libipc/imp/detect_plat.h"
|
||||||
|
|||||||
@ -7,7 +7,11 @@
|
|||||||
#include <exception>
|
#include <exception>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#include <windows.h>
|
||||||
|
#else
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
|
#endif
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
|
|
||||||
#include "libipc/imp/system.h"
|
#include "libipc/imp/system.h"
|
||||||
|
|||||||
@ -37,8 +37,11 @@ TEST(PThread, Robust) {
|
|||||||
pthread_mutex_destroy(&mutex);
|
pthread_mutex_destroy(&mutex);
|
||||||
}
|
}
|
||||||
#elif defined(LIBIPC_OS_WIN)
|
#elif defined(LIBIPC_OS_WIN)
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#include <windows.h>
|
||||||
|
#else
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <Windows.h>
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user