From d7badaf4241686af4b83eca299da2f227feaeb55 Mon Sep 17 00:00:00 2001 From: "Jan W. Krieger" Date: Mon, 29 Aug 2022 13:29:41 +0200 Subject: [PATCH] workaround for old MS code! --- lib/jkqtcommon/jkqtpmathtools.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/jkqtcommon/jkqtpmathtools.h b/lib/jkqtcommon/jkqtpmathtools.h index e3c13aff39..be80ff110e 100644 --- a/lib/jkqtcommon/jkqtpmathtools.h +++ b/lib/jkqtcommon/jkqtpmathtools.h @@ -31,7 +31,12 @@ #include #include - +#ifdef max +# undef max +#endif +#ifdef min +# undef min +#endif /*! \brief \f$ \pi=3.14159... \f$ \ingroup jkqtptools_math_basic