Manually re-apply libxlsxwriter customizations to minizip

This commit is contained in:
James Addison 2023-11-18 12:05:09 +00:00 committed by John McNamara
parent 957ed5ca74
commit 7e8e9c0b4c
2 changed files with 19 additions and 0 deletions

View File

@ -18,6 +18,12 @@
*/
/* Pragma added by libxlsxwriter to avoid warnings with -pedantic -ansi. */
#ifndef _WIN32
#pragma GCC system_header
#endif
#ifndef _ZLIBIOAPI64_H
#define _ZLIBIOAPI64_H

View File

@ -37,6 +37,11 @@
*/
/* Pragma added by libxlsxwriter to avoid warnings with -pedantic -ansi. */
#ifndef _WIN32
#pragma GCC system_header
#endif
#ifndef _zip12_H
#define _zip12_H
@ -54,6 +59,14 @@ extern "C" {
#include "ioapi.h"
#endif
/* Encryption not required by libxlsxwriter. */
#ifndef NOCRYPT
#define NOCRYPT
#endif
#ifndef NOUNCRYPT
#define NOUNCRYPT
#endif
#ifdef HAVE_BZIP2
#include "bzlib.h"
#endif