changeset 5276:d00064ec4baf

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Apr 2023 13:20:24 +0200
parents 8686476e9d12
children acaea72a3e91 ed7257b61bd7
files OrthancServer/Plugins/Samples/MultitenantDicom/OrthancFrameworkDependencies.cpp
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/MultitenantDicom/OrthancFrameworkDependencies.cpp	Fri Apr 14 13:16:41 2023 +0200
+++ b/OrthancServer/Plugins/Samples/MultitenantDicom/OrthancFrameworkDependencies.cpp	Fri Apr 14 13:20:24 2023 +0200
@@ -31,7 +31,10 @@
 
 #include <MultitenantDicomResources.h>
 
-#ifdef _WIN32
+#if defined(_WIN32)
+#  if !defined(NOMINMAX)
+#    define NOMINMAX
+#  endif
 // Make sure that "winsock2.h" is included before "winsock.h"
 #  include <winsock2.h>
 #endif