diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-14 12:30:07 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-14 12:30:07 +0300 |
commit | 5433a067a86957c1a14396d63f3e35eaeef1197d (patch) | |
tree | 7e356a3000578a66bd5969ab31b38104f39662e8 | |
parent | 12e1e0a8d87c007816c46d1b51feff5916613496 (diff) |
Fix the previous fix
-rw-r--r-- | libpkgconf/stdinc.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 <windows.h> # include <malloc.h> |