On MSVC, the cmake definitions do not seem to work as expected.
Putting the snprintf and vsnprintf definitions in libcompat.h.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@996
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
#if !HAVE_VSNPRINTF
CK_DLL_EXP int rpl_vsnprintf(char *, size_t, const char *, va_list);
+#define vsnprintf rpl_vsnprintf
#endif
#if !HAVE_SNPRINTF
CK_DLL_EXP int rpl_snprintf(char *, size_t, const char *, ...);
+#define snprintf rpl_snprintf
#endif
#endif /* HAVE_STDARG_H */