Add zlib headers

This commit is contained in:
twinaphex
2020-10-07 15:26:39 +02:00
parent 0ba8179841
commit 5231f567fc
5 changed files with 4 additions and 14 deletions
+2 -1
View File
@@ -3,7 +3,8 @@ LIBRETRO_COMM_DIR := $(CORE_DIR)/libretro/libretro-common
INCFLAGS := -I$(CORE_DIR) \ INCFLAGS := -I$(CORE_DIR) \
-I$(CORE_DIR)/atari800/src \ -I$(CORE_DIR)/atari800/src \
-I$(CORE_DIR)/libretro \ -I$(CORE_DIR)/libretro \
-I$(LIBRETRO_COMM_DIR)/include -I$(LIBRETRO_COMM_DIR)/include \
-I$(LIBRETRO_COMM_DIR)/include/compat/zlib \
ifeq ($(STATIC_LINKING), 1) ifeq ($(STATIC_LINKING), 1)
INCFLAGS += -I$(CORE_DIR)/libretro/include INCFLAGS += -I$(CORE_DIR)/libretro/include
@@ -1,12 +1,6 @@
#ifndef _COMPAT_ZLIB_H #ifndef _COMPAT_ZLIB_H
#define _COMPAT_ZLIB_H #define _COMPAT_ZLIB_H
#ifdef WANT_ZLIB
#ifdef RARCH_INTERNAL
#include "zconf.h.in"
#endif
/* zlib.h -- interface of the 'zlib' general purpose compression library /* zlib.h -- interface of the 'zlib' general purpose compression library
version 1.2.8, April 28th, 2013 version 1.2.8, April 28th, 2013
@@ -1742,9 +1736,8 @@ uint32_t adler32 (uint32_t adler, const uint8_t *buf, size_t len);
const char * zError (int); const char * zError (int);
int inflateSyncPoint (z_streamp); int inflateSyncPoint (z_streamp);
const uint32_t * get_crc_table(void); const uint32_t * get_crc_table(void);
int inflateUndermine (z_streamp, int); int inflateUndermine (z_streamp, int);
int inflateValidate (z_streamp, int);
int inflateResetKeep (z_streamp); int inflateResetKeep (z_streamp);
int deflateResetKeep (z_streamp); int deflateResetKeep (z_streamp);
#if defined(_WIN32) && !defined(Z_SOLO) #if defined(_WIN32) && !defined(Z_SOLO)
@@ -1765,8 +1758,4 @@ uint32_t adler32 (uint32_t adler, const uint8_t *buf, size_t len);
#endif /* ZLIB_H */ #endif /* ZLIB_H */
#else
#include <zlib.h>
#endif
#endif #endif
@@ -24,7 +24,7 @@
# define ZLIB_INTERNAL # define ZLIB_INTERNAL
#endif #endif
#include <compat/zlib.h> #include <zlib.h>
#if defined(STDC) && !defined(Z_SOLO) #if defined(STDC) && !defined(Z_SOLO)
# if !(defined(_WIN32_WCE) && defined(_MSC_VER)) # if !(defined(_WIN32_WCE) && defined(_MSC_VER))