From 74aeaddf8e523ddd0ac55ebca7da9463b9fd96c9 Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 16 Oct 2019 21:16:43 -0500 Subject: [PATCH] jc*huff.c: Consistify preproc directive formatting The rest of the libjpeg API code uses "#if defined(condition)" rather than "#if defined condition". --- jchuff.c | 4 ++-- jcphuff.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.40.0