From aab046d29b91a48dd129401cda3094a64bb20d9f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 15 Jun 1995 18:44:48 +0000 Subject: [PATCH] Don't include values.h. [__P]: Undefine it. [UNIX || unix]: Also test __UNIX__, __unix__, and _POSIX_VERSION. Reported by Arne H. Juul. --- src/md5sum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/md5sum.c b/src/md5sum.c index 0b95ff5d12..bd88976ae8 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -30,7 +30,6 @@ #include #include -#include #include #if defined (HAVE_LIMITS_H) || defined (_LIBC) @@ -49,7 +48,7 @@ #endif /* For performance reasons we use low-level I/O whenever possible. */ -#if defined UNIX || defined unix +#if UNIX || __UNIX__ || unix || __unix__ || _POSIX_VERSION # define FILETYPE int # define STDINFILE STDIN_FILENO # define OPEN open @@ -74,6 +73,7 @@ # define CLOSE(f) fclose (f) #endif +#undef __P #if defined __STDC__ && __STDC__ # define __P(args) args #else -- 2.47.3