From: Mark Wooding Date: Sat, 4 Sep 2021 18:53:51 +0000 (+0100) Subject: utils/compiler.h: Prefer `ifdef' rather than `if defined'. X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/commitdiff_plain/7612f2c0ba739fc6de944b5bd80b8cabffce91ea utils/compiler.h: Prefer `ifdef' rather than `if defined'. --- diff --git a/utils/compiler.h b/utils/compiler.h index 7e66d12..edc6e4d 100644 --- a/utils/compiler.h +++ b/utils/compiler.h @@ -34,7 +34,7 @@ /*----- Macros ------------------------------------------------------------*/ -#if defined(__GNUC__) +#ifdef __GNUC__ # define GCC_VERSION_P(maj, min) \ (__GNUC__ > (maj) || (__GNUC__ == (maj) && __GNUC_MINOR__ >= (min))) #else