libarchive: Disable MSVC warnings
We disable warnings to silence them while making minimal changes to third-party code.
This commit is contained in:
parent
cdbbe00a8b
commit
ccd831c559
|
@ -35,6 +35,10 @@
|
|||
#include "archive.h"
|
||||
#include "archive_string.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning (push,1)
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ > 2 || \
|
||||
(__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
|
||||
#define __LA_DEAD __attribute__((__noreturn__))
|
||||
|
|
Loading…
Reference in New Issue