Should build again for PS3

This commit is contained in:
twinaphex 2017-08-07 23:48:10 +02:00
parent ca0aa92c31
commit d3958736e8
3 changed files with 5 additions and 1 deletions

2
deps/libchdr/chd.c vendored
View File

@ -36,6 +36,8 @@
POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
#define DONT_SET_BYTE
typedef unsigned char Byte;
#include "chd.h"
#include "cdrom.h"

View File

@ -53,7 +53,9 @@ typedef int WRes;
#define RINOK(x) { int __result__ = (x); if (__result__ != 0) return __result__; }
#endif
#ifndef DONT_SET_BYTE
typedef unsigned char Byte;
#endif
typedef short Int16;
typedef unsigned short UInt16;

2
deps/zlib/zconf.h vendored
View File

@ -361,7 +361,7 @@
# define FAR
#endif
#if !defined(__MACTYPES__)
#if !defined(__MACTYPES__) && !defined(DONT_SET_BYTE)
typedef unsigned char Byte; /* 8 bits */
#endif
typedef unsigned int uInt; /* 16 bits or more */