mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 01:14:20 +01:00
Use swprintf_s for VC8 or newer. r=mento
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@238 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
469580e2df
commit
c1e0783204
@ -56,6 +56,10 @@
|
||||
// _snwprintf when using older CRTs.
|
||||
#if _MSC_VER < 1400 // MSVC 2005/8
|
||||
#define swprintf _snwprintf
|
||||
#else
|
||||
// For MSVC8 and newer, swprintf_s is the recommended method. Conveniently,
|
||||
// it takes the same argument list as swprintf.
|
||||
#define swprintf swprintf_s
|
||||
#endif // MSC_VER < 1400
|
||||
|
||||
namespace google_breakpad {
|
||||
|
Loading…
Reference in New Issue
Block a user