From acc26f85f32c68a51e5cc7b613cd0ea0b0630505 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 7 Jan 2022 20:50:16 +0200 Subject: Use #if defined(...) when not guard clause --- include/apos/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/apos/types.h') diff --git a/include/apos/types.h b/include/apos/types.h index 2d9bef1..9b90611 100644 --- a/include/apos/types.h +++ b/include/apos/types.h @@ -58,7 +58,7 @@ typedef intmax_t ssize_t; #define SCHAR_MIN (-__SCHAR_MAX - 1) #define UCHAR_MAX (2 * __SCHAR_MAX__ - 1) -#ifdef __CHAR_UNSIGNED__ +#if defined(__CHAR_UNSIGNED__) #define CHAR_MIN 0 #define CHAR_MAX UCHAR_MAX #else -- cgit v1.3