Mercurial > sdl-ios-xcode
diff src/SDL_error.c @ 1:cf2af46e9e2a
Changes since SDL 1.2.0 release
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 26 Apr 2001 16:50:19 +0000 |
parents | 74212992fb08 |
children | e8157fcb3114 |
line wrap: on
line diff
--- a/src/SDL_error.c Thu Apr 26 16:45:43 2001 +0000 +++ b/src/SDL_error.c Thu Apr 26 16:50:19 2001 +0000 @@ -47,6 +47,10 @@ #define SDL_GetErrBuf() (&SDL_global_error) #endif /* DISABLE_THREADS */ +#ifdef __CYGWIN__ +#define DISABLE_STDIO +#endif + #define SDL_ERRBUFIZE 1024 /* Private functions */ @@ -120,6 +124,7 @@ } va_end(ap); +#ifndef DISABLE_STDIO /* If we are in debug mode, print out an error message */ #ifdef DEBUG_ERROR fprintf(stderr, "SDL_SetError: %s\n", SDL_GetError()); @@ -128,6 +133,7 @@ fprintf(stderr, "SDL_SetError: %s\n", SDL_GetError()); } #endif +#endif /* !DISABLE_STDIO */ } /* Print out an integer value to a UNICODE buffer */