summaryrefslogtreecommitdiffstats
path: root/Process.h
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.h
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.h')
-rw-r--r--Process.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Process.h b/Process.h
index f702ca00..9c15d06e 100644
--- a/Process.h
+++ b/Process.h
@@ -10,8 +10,7 @@ in the source distribution for its full text.
*/
#ifdef MAJOR_IN_MKDEV
-#elif defined(MAJOR_IN_SYSMACROS) || \
- (defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H)
+#elif defined(MAJOR_IN_SYSMACROS)
#endif
#ifdef __ANDROID__

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