winpr: fix sprintf_s missing define
This commit is contained in:
parent
bf02b5b81f
commit
f8c6801a6d
@ -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 */
|
||||||
|
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user