]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix build failure on Borland.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 3 Feb 2010 23:59:47 +0000 (18:59 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 3 Feb 2010 23:59:47 +0000 (18:59 -0500)
SVN-Revision: 1863

libarchive/test/test_sparse_basic.c

index 39cc3ce56eb45f8dda5497da8cad3e7827775159..56c16de68d52d27a3d6c1a56261c468696a4a139 100644 (file)
@@ -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)