]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Add missing compiler preprocessor defines for 32-bit architectures
authorNathan Moinvaziri <nathan@nathanm.com>
Thu, 8 Jan 2026 00:47:06 +0000 (16:47 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sat, 10 Jan 2026 16:13:45 +0000 (17:13 +0100)
cmake/detect-arch.c

index b78b4af2a97e4cf39bcef6d7ceffcd050e29728f..6a33f8bb9d69eb9ace32dbf38e71e6372f893f04 100644 (file)
@@ -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