From 362b6b445bb69d4552a55729dae653a864c5de6f Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Date: Tue, 31 Jan 2023 16:08:48 +0100 Subject: [PATCH] gpioset: use #ifdef instead of #if with GPIOSET_INTERACTIVE We're not setting GPIOSET_INTERACTIVE to any specific value that we'd want to check so be consistent and use #ifdef everywhere to simply check if it's defined or not. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> --- tools/gpioset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gpioset.c b/tools/gpioset.c index 3aacfef..a7084a3 100644 --- a/tools/gpioset.c +++ b/tools/gpioset.c @@ -11,7 +11,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> -#if GPIOSET_INTERACTIVE +#ifdef GPIOSET_INTERACTIVE #include <editline/readline.h> #endif -- 2.30.2