diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-06-14 13:05:42 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-06-14 13:05:42 +0300 |
commit | 4b972da4fb8c047e6c1b876f3d026f213cade3b7 (patch) | |
tree | 4c7453323a0a572846b42a1091859c4867ae68f4 /contrib/restricted/google/benchmark/src/internal_macros.h | |
parent | bb4d56c9f2833ca3622dce9ee4a799910ea1549c (diff) | |
download | ydb-4b972da4fb8c047e6c1b876f3d026f213cade3b7.tar.gz |
Update contrib/restricted/google/benchmark to 1.8.0
Diffstat (limited to 'contrib/restricted/google/benchmark/src/internal_macros.h')
-rw-r--r-- | contrib/restricted/google/benchmark/src/internal_macros.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/restricted/google/benchmark/src/internal_macros.h b/contrib/restricted/google/benchmark/src/internal_macros.h index 396a390afb..8dd7d0c650 100644 --- a/contrib/restricted/google/benchmark/src/internal_macros.h +++ b/contrib/restricted/google/benchmark/src/internal_macros.h @@ -42,6 +42,12 @@ #define BENCHMARK_OS_CYGWIN 1 #elif defined(_WIN32) #define BENCHMARK_OS_WINDOWS 1 + // WINAPI_FAMILY_PARTITION is defined in winapifamily.h. + // We include windows.h which implicitly includes winapifamily.h for compatibility. + #ifndef NOMINMAX + #define NOMINMAX + #endif + #include <windows.h> #if defined(WINAPI_FAMILY_PARTITION) #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) #define BENCHMARK_OS_WINDOWS_WIN32 1 |