[__P]: Undefine it.
[UNIX || unix]: Also test __UNIX__, __unix__,
and _POSIX_VERSION. Reported by Arne H. Juul.
#include <getopt.h>
#include <stdio.h>
-#include <values.h>
#include <sys/types.h>
#if defined (HAVE_LIMITS_H) || defined (_LIBC)
#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
# define CLOSE(f) fclose (f)
#endif
+#undef __P
#if defined __STDC__ && __STDC__
# define __P(args) args
#else