From: Michihiro NAKAJIMA Date: Wed, 3 Feb 2010 23:59:47 +0000 (-0500) Subject: Fix build failure on Borland. X-Git-Tag: v3.0.0a~1290 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304f7007fe8236641df3e91b7ced4330f382507d;p=thirdparty%2Flibarchive.git Fix build failure on Borland. SVN-Revision: 1863 --- 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)