[LIBMPG123]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 18 Jun 2017 13:35:40 +0000 (13:35 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 18 Jun 2017 13:35:40 +0000 (13:35 +0000)
- Fix ssize_t
CORE-13451

svn path=/trunk/; revision=75092

reactos/sdk/include/reactos/libs/libmpg123/compat.h
reactos/sdk/include/reactos/libs/libmpg123/config.h

index a993aa0..3cbc60d 100644 (file)
 
 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);
index 97930c7..1abc53a 100644 (file)
 /* #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 */