mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2026-02-06 01:39:47 +08:00
Merge pull request #169 from cscd98/mingw-fixes
mingw: lower case more Windows.h includes when using ming
This commit is contained in:
commit
7aa56c5f01
@ -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