summaryrefslogtreecommitdiff
path: root/glob/fnmatch.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-06-25 23:00:17 +0000
committerPaul Smith <psmith@gnu.org>2005-06-25 23:00:17 +0000
commitf388233b033ccae26e567fb573fd3d7a87c71744 (patch)
tree1c51defb3a7e907880bb538ce9fd19bf6333d7d2 /glob/fnmatch.h
parent6cdaff0948bbec3220d5cb071f79d5f2e1c9b083 (diff)
downloadgunmake-f388233b033ccae26e567fb573fd3d7a87c71744.tar.gz
Fix Savannah bug # 13478. If -L is given, take the latest mtime for a
symlink even if it is "dangling" (it doesn't resolve to a real file).
Diffstat (limited to 'glob/fnmatch.h')
-rw-r--r--glob/fnmatch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/glob/fnmatch.h b/glob/fnmatch.h
index cc3ec37..54cbf59 100644
--- a/glob/fnmatch.h
+++ b/glob/fnmatch.h
@@ -24,7 +24,7 @@ extern "C" {
#endif
#if defined __cplusplus || (defined __STDC__ && __STDC__) || defined WINDOWS32
-# if !defined __GLIBC__ || !defined __P
+# if !defined __GLIBC__
# undef __P
# define __P(protos) protos
# endif
@@ -37,7 +37,7 @@ extern "C" {
#endif /* C++ or ANSI C. */
#ifndef const
-# if (defined __STDC__ && __STDC__) || defined __cplusplus
+# if (defined __STDC__ && __STDC__) || defined __cplusplus || defined WINDOWS32
# define __const const
# else
# define __const