summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 579d1fb)
raw | patch | inline | side by side (parent: 579d1fb)
author | Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk> | |
Sun, 30 Jul 2006 16:00:40 +0000 (17:00 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 2 Aug 2006 07:27:18 +0000 (00:27 -0700) |
The header builtin.h was, incorrectly, redefining PATH_MAX which
causes a header order dependency in builtin-write-tree.c. The fix
is to simply include <limits.h> directly to obtain the correct
definition of PATH_MAX.
Signed-off-by: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
causes a header order dependency in builtin-write-tree.c. The fix
is to simply include <limits.h> directly to obtain the correct
definition of PATH_MAX.
Signed-off-by: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin.h | patch | blob | history |
diff --git a/builtin.h b/builtin.h
index 1c8637ae22dc46961772b690d4218933725565d4..88c4d847123fc74847bbbb03ad37ddda7518d6cb 100644 (file)
--- a/builtin.h
+++ b/builtin.h
#define BUILTIN_H
#include <stdio.h>
-
-#ifndef PATH_MAX
-# define PATH_MAX 4096
-#endif
+#include <limits.h>
extern const char git_version_string[];