Fix compile error of GCC 4
authorChung-Chiang Cheng <cccheng@synology.com>
Mon, 28 Mar 2022 06:47:25 +0000 (14:47 +0800)
committerChung-Chiang Cheng <cccheng@synology.com>
Mon, 28 Mar 2022 07:16:21 +0000 (15:16 +0800)
commit31e65735b99dcc7288fe2ede9dc647f53fe8d6b2
treea26b67a7bdcdcf04a770654a55cf6db16eebbed1
parente3de2e7fe2889942d46699e72ac06b96eab09e27
Fix compile error of GCC 4

gcc-4.9.3 doesn't recognize __has_attribute(__fallthrough__) and reports
the following error.

  CC crc/crc32c-arm64.o
  In file included from crc/../os/../file.h:5:0,
                   from crc/../os/os-linux.h:32,
                   from crc/../os/os.h:39,
                   from crc/crc32c-arm64.c:2:
  crc/../os/../compiler/compiler.h:74:20: error: missing binary operator before token "("
  Makefile:501: recipe for target 'crc/crc32c-arm64.o' failed
  make: *** [crc/crc32c-arm64.o] Error 1

Signed-off-by: Chung-Chiang Cheng <cccheng@synology.com>
compiler/compiler.h