Qualify minizip include paths

This commit is contained in:
Berkus Decker 2017-12-03 19:30:56 +02:00 committed by Berkus Decker
parent d2c6b4041a
commit bf468f36ea
4 changed files with 5 additions and 5 deletions

View File

@ -537,8 +537,8 @@ list(APPEND THIRD_PARTY_SRC
ThirdParty/emoji_suggestions/emoji_suggestions.cpp
)
include_directories(ThirdParty/minizip)
include_directories(ThirdParty) # For minizip/ but we use fully-qualified include path to avoid ambiguity
include_directories(ThirdParty/GSL/include ThirdParty/variant/include
ThirdParty/emoji_suggestions ThirdParty/libtgvoip)

View File

@ -23,8 +23,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
*/
#pragma once
#include "zip.h"
#include "unzip.h"
#include "minizip/zip.h"
#include "minizip/unzip.h"
namespace zlib {
namespace internal {

View File

@ -73,7 +73,7 @@
#endif
#include "zlib.h"
#include "unzip.h"
#include "minizip/unzip.h"
#ifdef STDC
# include <stddef.h>

View File

@ -27,7 +27,7 @@
#include <string.h>
#include <time.h>
#include "zlib.h"
#include "zip.h"
#include "minizip/zip.h"
#ifdef STDC
# include <stddef.h>