aboutsummaryrefslogtreecommitdiff
path: root/include/apos/types.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 20:50:16 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 20:50:16 +0200
commitacc26f85f32c68a51e5cc7b613cd0ea0b0630505 (patch)
tree90d68a8292360f0796509f1febc7b66b0a53f4aa /include/apos/types.h
parent8d90fb3e4a5d02df75584016563ef84901967b9f (diff)
downloadkmi-acc26f85f32c68a51e5cc7b613cd0ea0b0630505.tar.gz
kmi-acc26f85f32c68a51e5cc7b613cd0ea0b0630505.zip
Use #if defined(...) when not guard clause
Diffstat (limited to 'include/apos/types.h')
-rw-r--r--include/apos/types.h2
1 files changed, 1 insertions, 1 deletions
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