mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-13 14:27:30 -04:00
Prevent libarchive from pulling in Windows.h
This commit is contained in:
parent
ad0b85d795
commit
add6e3da07
@ -25,6 +25,12 @@
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
|
||||
// This is required to avoid Windows.h being pulled in by libarchive
|
||||
// and polluting our environment with all sorts of shit.
|
||||
#if _WIN32
|
||||
#include <folly/portability/Windows.h>
|
||||
#endif
|
||||
|
||||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user