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> #include <stdio.h>
#ifdef _WIN32 #ifdef _WIN32
#define snprintf sprintf_s #define snprintf sprintf_s
#define strcasecmp _stricmp #define strcasecmp _stricmp
#endif #endif
#endif /* FREERDP_PRINT_UTILS_H */ #endif /* FREERDP_PRINT_UTILS_H */

View File

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