Change-Id: If820dbb3d9232d84b0a830cbe950581190781547
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142173
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2022-11-02 15:09:52 +01:00 committed by Julien Nabet
parent c6dbb99dc6
commit d60d9be3a0

View file

@ -50,7 +50,7 @@
// C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/GdiplusTypes.h, but not for e.g.
// C:/Program Files (x86)/Windows Kits/10/Include/10.0.22000.0/um/GdiplusTypes.h which explicitly
// defines its own GDIPLUS_MIN/MAX macros. The easiest fix appears to be to define min/max here and
// to undefin them again in postwin.h, until no supported version of the Windows SDK requires this
// to undefine them again in postwin.h, until no supported version of the Windows SDK requires this
// hack any longer:
#define min(a, b) (((a) < (b)) ? (a) : (b))
#define max(a, b) (((a) > (b)) ? (a) : (b))