mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
miniz archive type is forward declared so move include into zip_file.cpp where it's needed
This commit is contained in:
parent
63e072a8cb
commit
4c3e07bd96
|
@ -12,9 +12,9 @@ project "xlnt.test"
|
||||||
targetdir "../../bin"
|
targetdir "../../bin"
|
||||||
includedirs {
|
includedirs {
|
||||||
"../../include",
|
"../../include",
|
||||||
"../../third-party/pugixml/src",
|
"../../third-party/cxxtest",
|
||||||
"../../third-party/miniz",
|
"../../third-party/miniz",
|
||||||
"../../third-party/cxxtest"
|
"../../third-party/pugixml/src"
|
||||||
}
|
}
|
||||||
files {
|
files {
|
||||||
"../../tests/*.hpp",
|
"../../tests/*.hpp",
|
||||||
|
@ -33,8 +33,8 @@ project "xlnt"
|
||||||
targetdir "../../lib/"
|
targetdir "../../lib/"
|
||||||
includedirs {
|
includedirs {
|
||||||
"../../include",
|
"../../include",
|
||||||
"../../third-party/pugixml/src",
|
"../../third-party/miniz",
|
||||||
"../../third-party/miniz"
|
"../../third-party/pugixml/src"
|
||||||
}
|
}
|
||||||
files {
|
files {
|
||||||
"../../source/**.cpp",
|
"../../source/**.cpp",
|
||||||
|
|
|
@ -15,9 +15,9 @@ project "xlnt.test"
|
||||||
targetdir "../../bin"
|
targetdir "../../bin"
|
||||||
includedirs {
|
includedirs {
|
||||||
"../../include",
|
"../../include",
|
||||||
"../../third-party/pugixml/src",
|
"../../third-party/cxxtest",
|
||||||
"../../third-party/miniz",
|
"../../third-party/miniz",
|
||||||
"../../third-party/cxxtest"
|
"../../third-party/pugixml/src"
|
||||||
}
|
}
|
||||||
files {
|
files {
|
||||||
"../../tests/*.hpp",
|
"../../tests/*.hpp",
|
||||||
|
|
|
@ -50,6 +50,3 @@ const std::string download_url = "https://github.com/tfussell/xlnt/archive/maste
|
||||||
#include "workbook/document_properties.hpp"
|
#include "workbook/document_properties.hpp"
|
||||||
#include "cell/value.hpp"
|
#include "cell/value.hpp"
|
||||||
#include "cell/comment.hpp"
|
#include "cell/comment.hpp"
|
||||||
#include "common/miniz.h"
|
|
||||||
|
|
||||||
//#pragma comment(lib, "xlnt.lib")
|
|
|
@ -2,6 +2,8 @@
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
|
#include <miniz.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
|
@ -10,7 +12,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <xlnt/common/zip_file.hpp>
|
#include <xlnt/common/zip_file.hpp>
|
||||||
#include <xlnt/common/miniz.h>
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,4 @@
|
||||||
#define MINIZ_LITTLE_ENDIAN 1
|
#define MINIZ_LITTLE_ENDIAN 1
|
||||||
#define MINIZ_HAS_64BIT_REGISTERS 1
|
#define MINIZ_HAS_64BIT_REGISTERS 1
|
||||||
|
|
||||||
#include "../../../third-party/miniz/miniz.c"
|
#include "miniz.c"
|
Loading…
Reference in New Issue
Block a user