mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
[minizip-ng] unzip.h, zip.h: MSVC 2015 doesn't support __has_include().
Unconditionally use zlib.h instead of checking for zlib-ng.h.
This commit is contained in:
parent
53b2606bdb
commit
87196e25c6
3
extlib/minizip-ng/compat/unzip.h
vendored
3
extlib/minizip-ng/compat/unzip.h
vendored
@ -20,11 +20,14 @@ extern "C" {
|
||||
#include <stdint.h>
|
||||
|
||||
#if !defined(_ZLIB_H) && !defined(ZLIB_H) && !defined(ZLIB_H_)
|
||||
# if 0
|
||||
# if __has_include(<zlib-ng.h>)
|
||||
# include <zlib-ng.h>
|
||||
# elif __has_include(<zlib.h>)
|
||||
# include <zlib.h>
|
||||
# endif
|
||||
# endif
|
||||
# include <zlib.h>
|
||||
#endif
|
||||
|
||||
#ifndef _ZLIBIOAPI_H
|
||||
|
3
extlib/minizip-ng/compat/zip.h
vendored
3
extlib/minizip-ng/compat/zip.h
vendored
@ -20,11 +20,14 @@ extern "C" {
|
||||
#include <stdint.h>
|
||||
|
||||
#if !defined(_ZLIB_H) && !defined(ZLIB_H) && !defined(ZLIB_H_)
|
||||
# if 0
|
||||
# if __has_include(<zlib-ng.h>)
|
||||
# include <zlib-ng.h>
|
||||
# elif __has_include(<zlib.h>)
|
||||
# include <zlib.h>
|
||||
# endif
|
||||
# endif
|
||||
# include <zlib.h>
|
||||
#endif
|
||||
|
||||
#ifndef _ZLIBIOAPI_H
|
||||
|
Loading…
Reference in New Issue
Block a user