disable warnings for dbghelp.h

This commit is contained in:
Duncan Ogilvie 2019-05-19 23:47:58 +02:00
parent 32c8e33c64
commit d62f7f431c
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
4 changed files with 15 additions and 0 deletions

View File

@ -5,14 +5,20 @@
#include "_global.h"
#include "jansson/jansson.h"
#pragma warning(push)
#pragma warning(disable:4091)
#include <dbghelp.h>
#pragma warning(pop)
#else
#ifdef __GNUC__
#include "dbghelp/dbghelp.h"
#else
#pragma warning(push)
#pragma warning(disable:4091)
#include <dbghelp.h>
#pragma warning(pop)
#endif // __GNUC__
#ifndef deflen

View File

@ -4,7 +4,10 @@
#ifdef __GNUC__
#include "dbghelp\dbghelp.h"
#else
#pragma warning(push)
#pragma warning(disable:4091)
#include <dbghelp.h>
#pragma warning(pop)
#endif //__GNUC__
void SafeDbghelpInitialize();

View File

@ -1,5 +1,8 @@
#include <windows.h>
#pragma warning(push)
#pragma warning(disable:4091)
#include <dbghelp.h>
#pragma warning(pop)
#include <stdio.h>
#include <exception>
#include <signal.h>

View File

@ -4,7 +4,10 @@
#include <string>
#include <shlwapi.h>
#include <objbase.h>
#pragma warning(push)
#pragma warning(disable:4091)
#include <shlobj.h>
#pragma warning(pop)
#include <atlcomcli.h>
#include "../exe/resource.h"