USB: Fix a few more warnings.

This commit is contained in:
lightningterror 2020-11-18 21:41:22 +01:00
parent 4b4fa06432
commit 0f17734896
2 changed files with 4 additions and 4 deletions

View File

@ -49,13 +49,11 @@
#define __CINIFILE_H_
#ifdef _WIN32
// VC6 "identifier was truncated to '255' characters in the debug information"
#if defined(_MSC_VER) && (_MSC_VER >= 1200) && (_MSC_VER < 1300)
#pragma warning(disable : 4786)
#endif
// Prevent compile time warnings for deprecation
#if !defined(_CRT_SECURE_NO_DEPRECATE)
#define _CRT_SECURE_NO_DEPRECATE
#endif
#endif
#include <set>
#include <string>

View File

@ -15,7 +15,9 @@
#include "PrecompiledHeader.h"
#if !defined(_WIN32_WINNT)
#define _WIN32_WINNT 0x0502
#endif
#include <stdio.h>
#include <windows.h>
#include <windowsx.h>