Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pytorch/cpuinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyoyo Fujita <syoyo@lighttransport.com>2020-05-22 07:14:38 +0300
committerSyoyo Fujita <syoyo@lighttransport.com>2020-05-22 07:14:38 +0300
commitba2ca40c0534d355a99564e60e3e69d450f4e5b0 (patch)
treeed3464e67356b66870dd2dd49583d4d621a0507f
parent24e36b26eb28b1354e2625bd7d4530acbf3566c0 (diff)
Using lower-case Win32 header filename should be always safe.
-rw-r--r--src/x86/windows/init.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/x86/windows/init.c b/src/x86/windows/init.c
index f4e7a99..9a23bd7 100644
--- a/src/x86/windows/init.c
+++ b/src/x86/windows/init.c
@@ -8,12 +8,7 @@
#include <cpuinfo/internal-api.h>
#include <cpuinfo/log.h>
-#if defined(__MINGW32__)
-// Windows header filename must be all lower case on MinGW
#include <windows.h>
-#else
-#include <Windows.h>
-#endif
#ifdef __GNUC__
#define CPUINFO_ALLOCA __builtin_alloca