From 435c077c33b3bbd57feb909a33728b19ea18e351 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sun, 7 Jan 2007 21:32:25 +0000 Subject: [PATCH] Special case to support hard-coded configuration for building on Windows. --- lib/libarchive/archive_platform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libarchive/archive_platform.h b/lib/libarchive/archive_platform.h index 4cf9f051da7e..76c5f38f19b3 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.