From c266f14414471d5252130c70bafa0c60f85a265c Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Thu, 17 Dec 2009 11:38:36 +0100 Subject: Use snprintf() on DOS, we don't want crashes. Non-ancient compilers have it. Preferably, we would detect the presence of such functions, but _some_ folks oppose feature tests. --- crawl-ref/source/libutil.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crawl-ref/source/libutil.h') diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index b32aa83be2..66cb9bb693 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -161,10 +161,6 @@ std::string comma_separated_line(Z start, Z end, void usleep( unsigned long time ); #endif -#ifdef NEED_SNPRINTF -int snprintf( char *str, size_t size, const char *format, ... ); -#endif - #ifndef USE_TILE void cgotoxy(int x, int y, GotoRegion region = GOTO_CRT); #endif -- cgit v1.2.3-54-g00ecf