diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-13 16:20:30 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-13 16:20:30 +0200 |
commit | 68f5f213bf0cbd0bd60a6849bf4379113ea06282 (patch) | |
tree | 7906520ed59fe4ef7c03de91d55f4f74b87e4072 /tracker-wii/wiiyourself | |
parent | db47f9fc711f9b0abeb8461042c40c70d5a71021 (diff) |
appease analyzer
Diffstat (limited to 'tracker-wii/wiiyourself')
-rw-r--r-- | tracker-wii/wiiyourself/wiimote.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tracker-wii/wiiyourself/wiimote.cpp b/tracker-wii/wiiyourself/wiimote.cpp index 2d101926..f53e1acf 100644 --- a/tracker-wii/wiiyourself/wiimote.cpp +++ b/tracker-wii/wiiyourself/wiimote.cpp @@ -22,11 +22,7 @@ #include "wiimote.h" #include <setupapi.h> extern "C" { -# ifdef __MINGW32__ -# include <ddk/hidsdi.h>// from WinDDK -# else -# include <hidsdi.h> -# endif +#include <hidsdi.h>// from WinDDK } #include <sys/types.h> // for _stat #include <sys/stat.h> // " @@ -90,7 +86,7 @@ static void __cdecl _TRACE(const TCHAR* fmt, ...) va_list argptr; va_start(argptr, fmt); -#if (_MSC_VER >= 1400) // VC 2005+ +#ifdef _MSC_VER _vsntprintf_s(buffer, ARRAY_ENTRIES(buffer), _TRUNCATE, fmt, argptr); #else _vsntprintf(buffer, ARRAY_ENTRIES(buffer), fmt, argptr); |