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