diff options
author | sjg <sjg@FreeBSD.org> | 2015-10-23 17:38:01 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2015-10-23 17:38:01 +0000 |
commit | a1cf517b9773cdac110ae2e070a8b6a211054302 (patch) | |
tree | 90f609aa8fbb06b6220e1227adcc383d6ee1e5c4 /contrib/bmake/make.h | |
parent | 495cadb99fd3b99f7ac1a08451c84940d3fb747a (diff) | |
parent | fc737f02d4dbedb056bf90a3107fd7c5af012f0f (diff) | |
download | FreeBSD-src-a1cf517b9773cdac110ae2e070a8b6a211054302.zip FreeBSD-src-a1cf517b9773cdac110ae2e070a8b6a211054302.tar.gz |
Merge bmake 20151020
Diffstat (limited to 'contrib/bmake/make.h')
-rw-r--r-- | contrib/bmake/make.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/bmake/make.h b/contrib/bmake/make.h index 9cf7243..7cf34d8 100644 --- a/contrib/bmake/make.h +++ b/contrib/bmake/make.h @@ -1,4 +1,4 @@ -/* $NetBSD: make.h,v 1.95 2014/09/07 20:55:34 joerg Exp $ */ +/* $NetBSD: make.h,v 1.96 2015/09/21 21:50:16 pooka Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -519,8 +519,15 @@ int str2Lst_Append(Lst, char *, const char *); #define MAX(a, b) ((a > b) ? a : b) #endif +/* At least GNU/Hurd systems lack hardcoded MAXPATHLEN/PATH_MAX */ +#ifdef HAVE_LIMITS_H +#include <limits.h> +#endif #ifndef MAXPATHLEN -#define MAXPATHLEN BMAKE_PATH_MAX +#define MAXPATHLEN BMAKE_PATH_MAX +#endif +#ifndef PATH_MAX +#define PATH_MAX MAXPATHLEN #endif #endif /* _MAKE_H_ */ |