diff options
-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> |