X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gnulib%2Fimport%2Fpathmax.h;h=15a236fae8c3ea321ed6ffcaab5b83228d813f05;hb=b0ee49d21ba0c4b7f9817db01dc247255eebd516;hp=aee22f864004caeb44648f7bfcd45ba64dba0c9e;hpb=73cc72729a184f00bf6fc4d74684a8516ba6b683;p=deliverable%2Fbinutils-gdb.git
diff --git a/gnulib/import/pathmax.h b/gnulib/import/pathmax.h
index aee22f8640..15a236fae8 100644
--- a/gnulib/import/pathmax.h
+++ b/gnulib/import/pathmax.h
@@ -1,5 +1,5 @@
/* Define PATH_MAX somehow. Requires sys/types.h.
- Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2016 Free Software
+ Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2020 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -13,14 +13,14 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, see . */
+ along with this program; if not, see . */
#ifndef _PATHMAX_H
# define _PATHMAX_H
/* POSIX:2008 defines PATH_MAX to be the maximum number of bytes in a filename,
including the terminating NUL byte.
-
+
PATH_MAX is not defined on systems which have no limit on filename length,
such as GNU/Hurd.
@@ -65,10 +65,10 @@
# define PATH_MAX 1024
# endif
-# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+# if defined _WIN32 && ! defined __CYGWIN__
/* The page "Naming Files, Paths, and Namespaces" on msdn.microsoft.com,
section "Maximum Path Length Limitation",
-
+
explains that the maximum size of a filename, including the terminating
NUL byte, is 260 = 3 + 256 + 1.
This is the same value as