* include/limits.h: Revert unsanctioned changes below.

* include/cygwin/config.h: Ditto.
* include/sys/param.h: Ditto.
This commit is contained in:
Christopher Faylor
2003-11-15 17:04:10 +00:00
parent 5cdbbdb385
commit 490d129f4a
4 changed files with 10 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ extern "C" {
#define _CYGWIN_CONFIG_H
#define __DYNAMIC_REENT__
#define __FILENAME_MAX__ (4096 - 1 /* NUL */)
#define __FILENAME_MAX__ (260 - 1 /* NUL */)
#define _READ_WRITE_RETURN_TYPE _ssize_t
#define __LARGE64_FILES 1
#define __CYGWIN_USE_BIG_TYPES__ 1

View File

@@ -125,7 +125,7 @@ details. */
#define SSIZE_MAX (__LONG_MAX__)
/* Maximum length of a path */
#define PATH_MAX (4096 - 1 /*NUL*/)
#define PATH_MAX (260 - 1 /*NUL*/)
/* Max num groups for a user, value taken from NT documentation */
/* Must match <sys/param.h> NGROUPS */

View File

@@ -31,7 +31,7 @@
/* This is defined to be the same as MAX_PATH which is used internally.
The Posix version is PATH_MAX. */
#define MAXPATHLEN (4096 - 1 /*NUL*/)
#define MAXPATHLEN (260 - 1 /*NUL*/)
/* This is the number of bytes per block given in the st_blocks stat member.
It should be in sync with S_BLKSIZE in sys/stat.h. S_BLKSIZE is the