]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix bsdtar test compilation on windows with platform toolset 141
authorBenjaminTrapani <ben.trapani1995@gmail.com>
Wed, 17 Jan 2018 19:08:31 +0000 (14:08 -0500)
committerBenjaminTrapani <ben.trapani1995@gmail.com>
Sat, 20 Jan 2018 15:15:36 +0000 (10:15 -0500)
tar/test/test_option_fflags.c

index 77a4e3e19f0fa33dde1b1408d77bac509437bb67..f223feb19069c4d82717de9b954aa08f01331688 100644 (file)
 #include "test.h"
 __FBSDID("$FreeBSD$");
 
+#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__BORLANDC__)
+#define chmod _chmod
+#endif
+
 static void
 clear_fflags(const char *pathname)
 {