From 9b604b1eb969f5ecced4c879b656ed2a8b72fbbf Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Tue, 24 Jan 2017 00:22:36 +0300 Subject: [PATCH] Fix possible warning when WIN32_LEAN_AND_MEAN is already defined. --- ccutil/platform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ccutil/platform.h b/ccutil/platform.h index a159a6343..0662f9bbc 100644 --- a/ccutil/platform.h +++ b/ccutil/platform.h @@ -27,7 +27,9 @@ #ifndef NOMINMAX #define NOMINMAX #endif /* NOMINMAX */ +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif #ifdef __GNUC__ #define ultoa _ultoa #endif /* __GNUC__ */