From: Ilya Kurdyukov <59548320+ilyakurdyukov@users.noreply.github.com> Date: Wed, 9 Jun 2021 12:27:24 +0000 (+0700) Subject: fix: unterminated #elif in detect-arch.c X-Git-Tag: 2.0.4~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cfb7f15e32bc16ec4cca82b9c094bb886456e4c;p=thirdparty%2Fzlib-ng.git fix: unterminated #elif in detect-arch.c ``` $ gcc detect-arch.c detect-arch.c:8:6: error: #error archfound x86_64 #error archfound x86_64 ^~~~~ detect-arch.c:7:0: error: unterminated #elif #if defined(__x86_64__) || defined(_M_X64) ``` --- diff --git a/cmake/detect-arch.c b/cmake/detect-arch.c index c8bad4bed..8cae4eb66 100644 --- a/cmake/detect-arch.c +++ b/cmake/detect-arch.c @@ -99,6 +99,7 @@ #error archfound riscv64 #elif __riscv_xlen == 32 #error archfound riscv32 + #endif // return 'unrecognized' if we do not know what architecture this is #else