From d8cc92476f1d7b18db93dadd2dbb2ea39b070ddd Mon Sep 17 00:00:00 2001 From: brarcher Date: Thu, 2 Jan 2014 02:43:00 +0000 Subject: [PATCH] libcompat: do not use _snprintf even if available After going back and forth on this one, it seems simpler to use libcompat's snprintf, even if _snprintf is available. There were issues on MSVC using _snprintf. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@995 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- lib/libcompat.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/libcompat.h b/lib/libcompat.h index 3810560..200506b 100644 --- a/lib/libcompat.h +++ b/lib/libcompat.h @@ -186,10 +186,6 @@ CK_DLL_EXP int timer_delete(timer_t timerid); #if HAVE_STDARG_H #include -#if !HAVE_SNPRINTF && HAVE__SNPRINTF -#define snprintf _snprintf; -#endif /* HAVE_SNPRINTF && HAVE__SNPRINTF */ - #if !HAVE_VSNPRINTF CK_DLL_EXP int rpl_vsnprintf(char *, size_t, const char *, va_list); #endif -- 2.40.0