Author: tfaber
Date: Sun Jun 18 13:35:40 2017
New Revision: 75092
URL:
http://svn.reactos.org/svn/reactos?rev=75092&view=rev
Log:
[LIBMPG123]
- Fix ssize_t
CORE-13451
Modified:
trunk/reactos/sdk/include/reactos/libs/libmpg123/compat.h
trunk/reactos/sdk/include/reactos/libs/libmpg123/config.h
Modified: trunk/reactos/sdk/include/reactos/libs/libmpg123/compat.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/libs/l…
==============================================================================
--- trunk/reactos/sdk/include/reactos/libs/libmpg123/compat.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/reactos/libs/libmpg123/compat.h [iso-8859-1] Sun Jun 18
13:35:40 2017
@@ -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);
Modified: trunk/reactos/sdk/include/reactos/libs/libmpg123/config.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/libs/l…
==============================================================================
--- trunk/reactos/sdk/include/reactos/libs/libmpg123/config.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/reactos/libs/libmpg123/config.h [iso-8859-1] Sun Jun 18
13:35:40 2017
@@ -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 */