From: Michihiro NAKAJIMA Date: Sat, 24 Dec 2011 21:22:54 +0000 (-0500) Subject: Fix build failure on Visual Studio. X-Git-Tag: v3.0.4~2^2~264 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df975eafcebfbd108ca77b662bb48582a526fb99;p=thirdparty%2Flibarchive.git Fix build failure on Visual Studio. SVN-Revision: 3989 --- diff --git a/libarchive/test/test_write_format_zip.c b/libarchive/test/test_write_format_zip.c index 4f672346d..d62bce8da 100644 --- a/libarchive/test/test_write_format_zip.c +++ b/libarchive/test/test_write_format_zip.c @@ -187,7 +187,7 @@ DEFINE_TEST(test_write_format_zip) archive_entry_copy_symlink(ae, "file1"); assertEqualString("file1", archive_entry_symlink(ae)); archive_entry_set_mode(ae, AE_IFLNK | 0755); - assertEqualInt((S_IFLNK | 0755), archive_entry_mode(ae)); + assertEqualInt((AE_IFLNK | 0755), archive_entry_mode(ae)); archive_entry_set_size(ae, 4); assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae));