From dc4a55fdfcf50d7fcec4ece631214eca13e2b0ab Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Tue, 19 Feb 2008 06:06:13 +0000 Subject: [PATCH] Another tiny, tiny step towards Windows support. No, I don't plan to ever commit the Windows support files to FreeBSD CVS. That would just be wrong. --- lib/libarchive/archive_platform.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/libarchive/archive_platform.h b/lib/libarchive/archive_platform.h index 3f232803a6f1..035d27ccd30e 100644 --- a/lib/libarchive/archive_platform.h +++ b/lib/libarchive/archive_platform.h @@ -36,7 +36,10 @@ #ifndef ARCHIVE_PLATFORM_H_INCLUDED #define ARCHIVE_PLATFORM_H_INCLUDED -#if defined(PLATFORM_CONFIG_H) +#ifdef _WIN32 +#include "config_windows.h" +#include "archive_windows.h" +#elif defined(PLATFORM_CONFIG_H) /* Use hand-built config.h in environments that need it. */ #include PLATFORM_CONFIG_H #elif defined(HAVE_CONFIG_H)