winpr: fix sprintf_s missing define

This commit is contained in:
Marc-André Moreau 2012-08-30 22:19:44 -04:00
parent bf02b5b81f
commit f8c6801a6d
2 changed files with 4 additions and 2 deletions

View File

@ -23,8 +23,8 @@
#include <stdio.h>
#ifdef _WIN32
#define snprintf sprintf_s
#define strcasecmp _stricmp
#define snprintf sprintf_s
#define strcasecmp _stricmp
#endif
#endif /* FREERDP_PRINT_UTILS_H */

View File

@ -147,6 +147,8 @@ WINPR_API int lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2);
#define lstrcmp lstrcmpA
#endif
#define sprintf_s snprintf
#endif
#endif /* WINPR_CRT_STRING_H */