summaryrefslogtreecommitdiffstats
path: root/Process.c
diff options
context:
space:
mode:
authorWataru Ashihara <wataash0607@gmail.com>2018-12-15 22:06:00 +0900
committerWataru Ashihara <wataash0607@gmail.com>2018-12-15 22:10:06 +0900
commit41754e56329522dac9f05f4ebefb436908b27fdc (patch)
treed1a6ed8499a7d708f42dcd8f4b479fc56d64fffd /Process.c
parentb7b4200f854f667a917b7da8f92b3e0426131bd7 (diff)
Remove unnecessary HAVE_SYS_SYSMACROS_H check
HAVE_SYS_SYSMACROS_H is always true if MAJOR_IN_SYSMACROS. This way of checking is recommended in autoconf 2.70 documentation: https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blobdiff;f=doc/autoconf.texi;h=4f041bd4e;hp=9ad7dc1c5f02c8ba25b2fe1218bf931c7113a5d5;hb=e17a30e987d7ee695fb4294a82d987ec3dc9b974;hpb=565a6dc50cfa01cec2fb4db894026689cdf4970c NOTE: currently https://www.gnu.org/software/autoconf/manual/autoconf.html is the doc for autoconf 2.69.
Diffstat (limited to 'Process.c')
-rw-r--r--Process.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Process.c b/Process.c
index d6e30ee7..3fc90f7c 100644
--- a/Process.c
+++ b/Process.c
@@ -30,8 +30,7 @@ in the source distribution for its full text.
#include <math.h>
#ifdef MAJOR_IN_MKDEV
#include <sys/mkdev.h>
-#elif defined(MAJOR_IN_SYSMACROS) || \
- (defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H)
+#elif defined(MAJOR_IN_SYSMACROS)
#include <sys/sysmacros.h>
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy