Mercurial > hg > orthanc-stone
changeset 2237:6e995ee3b3e8
fix for msvc
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 26 Apr 2025 21:56:58 +0200 |
parents | f276f465ff5a |
children | fc8be07bc72a |
files | OrthancStone/Sources/Toolbox/DicomStructuredReport.cpp |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/DicomStructuredReport.cpp Sat Apr 26 14:22:47 2025 +0200 +++ b/OrthancStone/Sources/Toolbox/DicomStructuredReport.cpp Sat Apr 26 21:56:58 2025 +0200 @@ -21,6 +21,11 @@ **/ +// Necessary for "std::max()" to work on Visual Studio +#ifndef NOMINMAX +#define NOMINMAX +#endif + #include "DicomStructuredReport.h" #include "../Scene2D/ScenePoint2D.h"