Mercurial > sdl-ios-xcode
view src/thread/pth/SDL_sysmutex_c.h @ 1172:f69f4d25fb20
Don't crash if a NULL is passed for a "%s" parameter to SDL_SetError(),
instead replace it with the string "(null)", like glibc's printf() would do.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 17 Nov 2005 03:04:47 +0000 |
parents | 1d74ddc90cb2 |
children | d910939febfa |
line wrap: on
line source
#ifndef _SDL_SYSMUTEX_C_H_ #define _SDL_SYSMUTEX_C_H_ struct SDL_mutex { pth_mutex_t mutexpth_p; }; #endif /* _SDL_SYSMUTEX_C_H_ */