mirror of
https://github.com/google/benchmark.git
synced 2024-12-26 12:30:14 +08:00
Fixes #1581.
This commit is contained in:
parent
f7547e29cc
commit
b177433f3e
@ -44,7 +44,9 @@
|
||||
#define BENCHMARK_OS_WINDOWS 1
|
||||
// WINAPI_FAMILY_PARTITION is defined in winapifamily.h.
|
||||
// We include windows.h which implicitly includes winapifamily.h for compatibility.
|
||||
#define NOMINMAX
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#if defined(WINAPI_FAMILY_PARTITION)
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
|
Loading…
Reference in New Issue
Block a user