From a04f1f8fc59a72ce7330c4dbbe6d4be3f3ff698d Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 9 Dec 2015 18:27:05 +0100 Subject: [PATCH] Added missing _snprintf define. --- winpr/include/winpr/string.h | 1 + 1 file changed, 1 insertion(+) diff --git a/winpr/include/winpr/string.h b/winpr/include/winpr/string.h index ddcaeaf46..555d05306 100644 --- a/winpr/include/winpr/string.h +++ b/winpr/include/winpr/string.h @@ -153,6 +153,7 @@ WINPR_API int lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2); #endif #define sprintf_s snprintf +#define _snprintf snprintf #define _scprintf(_fmt, ...) snprintf(NULL, 0, _fmt, ## __VA_ARGS__) #define _scprintf(_fmt, ...) snprintf(NULL, 0, _fmt, ## __VA_ARGS__)