From 41754e56329522dac9f05f4ebefb436908b27fdc Mon Sep 17 00:00:00 2001 From: Wataru Ashihara Date: Sat, 15 Dec 2018 22:06:00 +0900 Subject: 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. --- Process.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Process.c') 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 #ifdef MAJOR_IN_MKDEV #include -#elif defined(MAJOR_IN_SYSMACROS) || \ - (defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H) +#elif defined(MAJOR_IN_SYSMACROS) #include #endif -- cgit v1.2.3