mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Visual Studio: calling into _vsnprintf. (#1085)
This commit is contained in:
parent
81562b2b5a
commit
2a67aeaa3d
2 changed files with 7 additions and 1 deletions
|
|
@ -36,7 +36,8 @@
|
|||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen
|
||||
#define snprintf _snprintf
|
||||
#define snprintf _snprintf
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic ignored "-Wold-style-cast" // warning : use of old-style cast // yes, they are more terse.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue