mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-25 07:58:59 -06:00
libarchive: Use _snprintf on Windows, not snprintf
This commit is contained in:
@@ -64,6 +64,10 @@ __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;
|
||||
|
||||
Reference in New Issue
Block a user