libarchive: Disable MSVC warnings

We disable warnings to silence them while making minimal changes to
third-party code.
This commit is contained in:
Brad King 2009-11-04 13:09:41 -05:00
parent cdbbe00a8b
commit ccd831c559
1 changed files with 4 additions and 0 deletions

View File

@ -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__))