Move zconf.h to libretro-common/include/compat

This commit is contained in:
twinaphex 2015-08-31 18:07:38 +02:00
parent 1abfb8426a
commit 15c00bc997
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,7 @@
#ifndef _COMPAT_ZLIB_H
#define _COMPAT_ZLIB_H
#ifdef WANT_ZLIB
/* zconf.h -- configuration of the zlib compression library /* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-2013 Jean-loup Gailly. * Copyright (C) 1995-2013 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h * For conditions of distribution and use, see copyright notice in zlib.h
@ -509,3 +513,9 @@ typedef uLong FAR uLongf;
#endif #endif
#endif /* ZCONF_H */ #endif /* ZCONF_H */
#else
#include <zconf.h>
#endif
#endif

View File

@ -36,7 +36,7 @@
#ifndef ZLIB_H #ifndef ZLIB_H
#define ZLIB_H #define ZLIB_H
#include "zconf.h" #include <compat/zconf.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {