From: Nathan Moinvaziri Date: Thu, 8 Jan 2026 00:47:06 +0000 (-0800) Subject: Add missing compiler preprocessor defines for 32-bit architectures X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d055618bd9733783e08a061b46c77d4eba2b61e9;p=thirdparty%2Fzlib-ng.git Add missing compiler preprocessor defines for 32-bit architectures --- diff --git a/cmake/detect-arch.c b/cmake/detect-arch.c index b78b4af2a..6a33f8bb9 100644 --- a/cmake/detect-arch.c +++ b/cmake/detect-arch.c @@ -8,7 +8,8 @@ #error archfound x86_64 // x86 -#elif defined(__i386) || defined(_M_IX86) +#elif defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__) || \ + defined(__i386) || defined(_M_IX86) #error archfound i686 // ARM