From 948a871c7348a4cfd9caa1e797d17e503c095a63 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 24 Jul 2020 19:39:26 +0200 Subject: Windows: update libzip to latest version 1.7.3 (close issue #656) --- src/Common/libzip/compat.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/Common/libzip/compat.h') diff --git a/src/Common/libzip/compat.h b/src/Common/libzip/compat.h index e0a27beb..fb2c56e1 100644 --- a/src/Common/libzip/compat.h +++ b/src/Common/libzip/compat.h @@ -36,9 +36,7 @@ #include "zipconf.h" -#ifdef HAVE_CONFIG_H #include "config.h" -#endif /* to have *_MAX definitions for all types when compiling with g++ */ #define __STDC_LIMIT_MACROS @@ -103,10 +101,6 @@ typedef char bool; #if !defined(HAVE_FILENO) && defined(HAVE__FILENO) #define fileno _fileno #endif -/* Windows' open() doesn't understand Unix permissions */ -#if defined(HAVE__OPEN) -#define open(a, b, c) _open((a), (b)) -#endif #if defined(HAVE__SNPRINTF) #define snprintf _snprintf #endif -- cgit v1.2.3