summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-01-07 21:32:25 +0000
committerkientzle <kientzle@FreeBSD.org>2007-01-07 21:32:25 +0000
commit3ab35533ebd385ba1714469942e7e0cd6b965e49 (patch)
tree42f808e9c4bb0bd6b62d1a0ce101c5a6c0c10d4d /lib
parentebdf3cb9d1f86a9605d4511b67510bda8dd38d5c (diff)
downloadFreeBSD-src-3ab35533ebd385ba1714469942e7e0cd6b965e49.zip
FreeBSD-src-3ab35533ebd385ba1714469942e7e0cd6b965e49.tar.gz
Special case to support hard-coded configuration for building on Windows.
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/archive_platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libarchive/archive_platform.h b/lib/libarchive/archive_platform.h
index 4cf9f05..76c5f38 100644
--- a/lib/libarchive/archive_platform.h
+++ b/lib/libarchive/archive_platform.h
@@ -43,6 +43,9 @@
#elif defined(__FreeBSD__)
/* Building as part of FreeBSD system requires a pre-built config.h. */
#include "config_freebsd.h"
+#elif defined(_WIN32)
+/* Win32 can't run the 'configure' script. */
+#include "config_windows.h"
#else
/* Warn if the library hasn't been (automatically or manually) configured. */
#error Oops: No config.h and no pre-built configuration in archive_platform.h.
OpenPOWER on IntegriCloud