mingw: lower case for mingw new Windows.h includes

This commit is contained in:
Craig Carnell 2025-12-31 17:24:18 +00:00
parent 858a7a6e38
commit a8752fd170
3 changed files with 12 additions and 1 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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>