diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-03-20 11:21:20 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2021-03-21 21:49:04 +0100 |
commit | 57e0ce7b4ffce8cf41bd3003831198d0bb38ebf2 (patch) | |
tree | fb8d84bb5068ba69535ce759766ab498916894d4 /linux/LinuxProcessList.c | |
parent | 1cb3aee07a5be99dff3407ff9b5de0d63b330177 (diff) |
Use `#if defined()` syntax when `#elif defined()` is present
This prefers the `#if defined()` syntax over the `#ifdef` variant
whenever there's also a `#elif defined()` clause, thus making the
multiple branching structure more obvious and the overall use
more consistent.
Diffstat (limited to 'linux/LinuxProcessList.c')
-rw-r--r-- | linux/LinuxProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c index 7df17fd9..b12a415b 100644 --- a/linux/LinuxProcessList.c +++ b/linux/LinuxProcessList.c @@ -48,7 +48,7 @@ in the source distribution for its full text. #include "Settings.h" #include "XUtils.h" -#ifdef MAJOR_IN_MKDEV +#if defined(MAJOR_IN_MKDEV) #include <sys/mkdev.h> #elif defined(MAJOR_IN_SYSMACROS) #include <sys/sysmacros.h> |