build: fix mingw-w64 version guard for mingw32ce

Follow-up to a28f5f68b9 #18010
Closes #18095
This commit is contained in:
Viktor Szakats 2025-07-30 11:15:08 +02:00
parent 8d00527e9e
commit 217ae24a94
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -75,7 +75,7 @@
#endif
#endif
#if defined(__MINGW32__) && \
#if defined(__MINGW32__) && !defined(__MINGW32CE__) && \
(!defined(__MINGW64_VERSION_MAJOR) || (__MINGW64_VERSION_MAJOR < 3))
#error "Building curl requires mingw-w64 3.0 or later"
#endif