Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/limits.h')
-rw-r--r--winsup/mingw/include/limits.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/mingw/include/limits.h b/winsup/mingw/include/limits.h
index 96ad26cec..ca4900610 100644
--- a/winsup/mingw/include/limits.h
+++ b/winsup/mingw/include/limits.h
@@ -29,7 +29,9 @@
* are semantically identical, with a limit of 259 characters for the
* path name, plus one for a terminating NUL, for a total of 260.
*/
-#define PATH_MAX 260
+#ifndef __STRICT_ANSI__
+# define PATH_MAX 260
+#endif
/*
* Characteristics of the char data type.