From 304f7007fe8236641df3e91b7ced4330f382507d Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Wed, 3 Feb 2010 18:59:47 -0500 Subject: [PATCH] Fix build failure on Borland. SVN-Revision: 1863 --- libarchive/test/test_sparse_basic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libarchive/test/test_sparse_basic.c b/libarchive/test/test_sparse_basic.c index 39cc3ce56..56c16de68 100644 --- a/libarchive/test/test_sparse_basic.c +++ b/libarchive/test/test_sparse_basic.c @@ -59,7 +59,9 @@ struct sparse { */ #define PATH_MAX MAX_PATH -#define getcwd _getcwd +#if !defined(__BORLANDC__) +#define getcwd _getcwd +#endif static int is_sparse_supported(const char *path) -- 2.47.3