Changes since SDL 1.2.0 release
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402
This commit is contained in:
parent
2f110628a7
commit
9b6cc5a90d
40 changed files with 1225 additions and 105 deletions
|
@ -47,6 +47,10 @@ static SDL_error SDL_global_error;
|
|||
#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 @@ void SDL_SetError (const char *fmt, ...)
|
|||
}
|
||||
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 @@ void SDL_SetError (const char *fmt, ...)
|
|||
fprintf(stderr, "SDL_SetError: %s\n", SDL_GetError());
|
||||
}
|
||||
#endif
|
||||
#endif /* !DISABLE_STDIO */
|
||||
}
|
||||
|
||||
/* Print out an integer value to a UNICODE buffer */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue