src/SDL_error.c
changeset 1 cf2af46e9e2a
parent 0 74212992fb08
child 252 e8157fcb3114
     1.1 --- a/src/SDL_error.c	Thu Apr 26 16:45:43 2001 +0000
     1.2 +++ b/src/SDL_error.c	Thu Apr 26 16:50:19 2001 +0000
     1.3 @@ -47,6 +47,10 @@
     1.4  #define SDL_GetErrBuf()	(&SDL_global_error)
     1.5  #endif /* DISABLE_THREADS */
     1.6  
     1.7 +#ifdef __CYGWIN__
     1.8 +#define DISABLE_STDIO
     1.9 +#endif
    1.10 +
    1.11  #define SDL_ERRBUFIZE	1024
    1.12  
    1.13  /* Private functions */
    1.14 @@ -120,6 +124,7 @@
    1.15  	}
    1.16  	va_end(ap);
    1.17  
    1.18 +#ifndef DISABLE_STDIO
    1.19  	/* If we are in debug mode, print out an error message */
    1.20  #ifdef DEBUG_ERROR
    1.21  	fprintf(stderr, "SDL_SetError: %s\n", SDL_GetError());
    1.22 @@ -128,6 +133,7 @@
    1.23  		fprintf(stderr, "SDL_SetError: %s\n", SDL_GetError());
    1.24  	}
    1.25  #endif
    1.26 +#endif /* !DISABLE_STDIO */
    1.27  }
    1.28  
    1.29  /* Print out an integer value to a UNICODE buffer */