1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-11-06 20:44:02 +03:00

(_POSIX2_VERSION, POSIX2_VERSION): New macros.

This commit is contained in:
Jim Meyering
2002-01-16 23:02:28 +00:00
parent f29617e3fe
commit 2302cc643b

View File

@@ -1,5 +1,5 @@
/* system-dependent definitions for fileutils, textutils, and sh-utils packages.
Copyright (C) 1989, 1991-2001 Free Software Foundation, Inc.
Copyright (C) 1989, 1991-2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -33,6 +33,17 @@
# include <unistd.h>
#endif
#ifndef _POSIX2_VERSION
# define _POSIX2_VERSION 0
#endif
/* The POSIX version that our programs should conform to. The default
is the same as for system programs. If the system does not specify
a version, assume the latest version, whatever it is. */
#ifndef POSIX2_VERSION
# define POSIX2_VERSION (_POSIX2_VERSION ? _POSIX2_VERSION : 2147483647)
#endif
#ifndef STDIN_FILENO
# define STDIN_FILENO 0
#endif