summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-22 13:45:07 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-22 14:18:26 (GMT)
commit1bbba477c747581d318b4fe5a1f3ede36301eed7 (patch)
tree2236f7f7044304eb76d754a749e65eaec5d35cf7 /Utilities/cmlibarchive
parent64bdf0b7469437b101bb0f1cf641956e0b5d1bb0 (diff)
downloadCMake-1bbba477c747581d318b4fe5a1f3ede36301eed7.zip
CMake-1bbba477c747581d318b4fe5a1f3ede36301eed7.tar.gz
CMake-1bbba477c747581d318b4fe5a1f3ede36301eed7.tar.bz2
libarchive: Drop outdated CMake portability snprintf
The archive_read_support_format_zip.c source no longer calls snprintf directly so we do not need a portability macro for it.
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c b/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c
index 8065ec3..62bf5e3 100644
--- a/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c
+++ b/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c
@@ -67,10 +67,6 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_read_support_format_zip.c 201102
#include "archive_crc32.h"
#endif
-#if defined(_WIN32) && !defined(__CYGWIN__)
-# define snprintf _snprintf
-#endif
-
struct zip_entry {
struct archive_rb_node node;
struct zip_entry *next;