From f58993d0417087c66086f9d00b77c0f126f5a891 Mon Sep 17 00:00:00 2001 From: Riccardo Corsi Date: Fri, 14 Jan 2022 15:10:07 +0100 Subject: [PATCH] Restored Windows related defines, which might be needed even now, with fewer Windows headers included --- include/uuid.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/uuid.h b/include/uuid.h index 63c54aa..600846f 100644 --- a/include/uuid.h +++ b/include/uuid.h @@ -19,6 +19,13 @@ #ifdef _WIN32 +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#ifndef NOMINMAX +#define NOMINMAX +#endif + #ifdef UUID_SYSTEM_GENERATOR #include #endif