From: DRC Date: Thu, 17 Oct 2019 02:16:43 +0000 (-0500) Subject: jc*huff.c: Consistify preproc directive formatting X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74aeaddf8e523ddd0ac55ebca7da9463b9fd96c9;p=libjpeg-turbo jc*huff.c: Consistify preproc directive formatting The rest of the libjpeg API code uses "#if defined(condition)" rather than "#if defined condition". --- diff --git a/jchuff.c b/jchuff.c index 526203e..206958e 100644 --- a/jchuff.c +++ b/jchuff.c @@ -43,8 +43,8 @@ */ /* NOTE: Both GCC and Clang define __GNUC__ */ -#if defined __GNUC__ && (defined __arm__ || defined __aarch64__) -#if !defined __thumb__ || defined __thumb2__ +#if defined(__GNUC__) && (defined(__arm__) || defined(__aarch64__)) +#if !defined(__thumb__) || defined(__thumb2__) #define USE_CLZ_INTRINSIC #endif #endif diff --git a/jcphuff.c b/jcphuff.c index 024d3af..8c4efaf 100644 --- a/jcphuff.c +++ b/jcphuff.c @@ -52,8 +52,8 @@ */ /* NOTE: Both GCC and Clang define __GNUC__ */ -#if defined __GNUC__ && (defined __arm__ || defined __aarch64__) -#if !defined __thumb__ || defined __thumb2__ +#if defined(__GNUC__) && (defined(__arm__) || defined(__aarch64__)) +#if !defined(__thumb__) || defined(__thumb2__) #define USE_CLZ_INTRINSIC #endif #endif