diff options
author | kientzle <kientzle@FreeBSD.org> | 2008-02-19 06:06:13 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2008-02-19 06:06:13 +0000 |
commit | efdcbf021b88988e96988ec6094912262831f32d (patch) | |
tree | cc4810bd29e3bc36bba45fcc0eee93264318a810 /lib/libarchive | |
parent | c47c10e46298b11b7a357a833a385f004c7d8524 (diff) | |
download | FreeBSD-src-efdcbf021b88988e96988ec6094912262831f32d.zip FreeBSD-src-efdcbf021b88988e96988ec6094912262831f32d.tar.gz |
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.
Diffstat (limited to 'lib/libarchive')
-rw-r--r-- | lib/libarchive/archive_platform.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libarchive/archive_platform.h b/lib/libarchive/archive_platform.h index 3f23280..035d27c 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) |