[LIBMPG123]

- Fix ssize_t
CORE-13451

svn path=/trunk/; revision=75092
This commit is contained in:
Thomas Faber 2017-06-18 13:35:40 +00:00
parent bb12a351c7
commit f5be5e8bfe
2 changed files with 3 additions and 1 deletions

View file

@ -97,9 +97,11 @@
typedef unsigned char byte;
#ifndef __REACTOS__
#ifdef _MSC_VER
typedef long ssize_t;
#endif
#endif /* __REACTOS__ */
/* A safe realloc also for very old systems where realloc(NULL, size) returns NULL. */
void *safe_realloc(void *ptr, size_t size);

View file

@ -451,7 +451,7 @@
/* #undef size_t */
/* Define to `long' if <sys/types.h> does not define. */
/* #undef ssize_t */
#define ssize_t long
/* Define to `unsigned short' if <sys/types.h> does not define. */
/* #undef uint16_t */