### ImageMagick version

7.1.1-33

### Operating system

Windows

### Operating system, version and so on

vs2017 v141 windows sdk 8.1

### Description

When compiling imagemagick with vs2017 (requires sdk 8.1), it will prompt that min and max cannot find identifiers. How should I solve it
![微信图片_20240521150823](https://github.com/ImageMagick/ImageMagick/assets/4612971/8f763629-33de-4e19-96be-e92b18fd8b05)


### Steps to Reproduce

![微信图片_20240521151135](https://github.com/ImageMagick/ImageMagick/assets/4612971/663c192a-3b8f-4f6c-86e5-1173269bf140)


### Images

_No response_
vs2017 c3861
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : vs2017 c3861
Issue date:

--- start body ---
### ImageMagick version

7.1.1-33

### Operating system

Windows

### Operating system, version and so on

vs2017 v141 windows sdk 8.1

### Description

When compiling imagemagick with vs2017 (requires sdk 8.1), it will prompt that min and max cannot find identifiers. How should I solve it
![微信图片_20240521150823](https://github.com/ImageMagick/ImageMagick/assets/4612971/8f763629-33de-4e19-96be-e92b18fd8b05)


### Steps to Reproduce

![微信图片_20240521151135](https://github.com/ImageMagick/ImageMagick/assets/4612971/663c192a-3b8f-4f6c-86e5-1173269bf140)


### Images

_No response_
--- end body ---
