From 5433a067a86957c1a14396d63f3e35eaeef1197d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 14 Sep 2017 12:30:07 +0300 Subject: Fix the previous fix --- libpkgconf/stdinc.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libpkgconf') diff --git a/libpkgconf/stdinc.h b/libpkgconf/stdinc.h index 82939a5..5e22098 100644 --- a/libpkgconf/stdinc.h +++ b/libpkgconf/stdinc.h @@ -37,10 +37,12 @@ # define WIN32_LEAN_AND_MEAN /* - * Add to avoid clashing min/max macros with C++ min/max functions (issue #137 - * is reported). + * Add to avoid clashing of min/max macros with C++ min/max functions (issue + * #137 is reported). */ -# define NOMINMAX // No min and max macros. +# ifndef NOMINMAX +# define NOMINMAX // No min and max macros. +# endif # include # include -- cgit v1.1