all repos — mgba @ 9739f177c76de09233544144d68130337280deb3

mGBA Game Boy Advance Emulator

Wii: Remove bad ssize_t definition
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Jun 2015 02:47:41 -0700
commit

9739f177c76de09233544144d68130337280deb3

parent

80dc3a8fb74abcb00f2b771e82328e6960da5bc3

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M src/util/common.hsrc/util/common.h

@@ -29,8 +29,7 @@ #define strcasecmp _stricmp

#define strncasecmp _strnicmp #define ftruncate _chsize #elif defined(__wii__) -typedef int32_t ssize_t; -#define SSIZE_MAX ((ssize_t) SIZE_MAX) +typedef intptr_t ssize_t; #else #include <strings.h> #include <unistd.h>