From 012254e81e045cc7af01f3ef0d7b63d9d9b9a0d5 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 6 Jul 1999 21:09:32 +0000 Subject: * Various bugfixes/updates. See ChangeLog. --- arscan.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'arscan.c') diff --git a/arscan.c b/arscan.c index 5c4a48f..19aa8ad 100644 --- a/arscan.c +++ b/arscan.c @@ -231,7 +231,25 @@ ar_scan (archive, function, arg) # define __AR_BIG__ #endif -#include +#ifndef WINDOWS32 +# include +#else +/* These should allow us to read Windows (VC++) libraries (according to Frank + * Libbrecht ) + */ +# include +# include +# include +# define ARMAG IMAGE_ARCHIVE_START +# define SARMAG IMAGE_ARCHIVE_START_SIZE +# define ar_hdr _IMAGE_ARCHIVE_MEMBER_HEADER +# define ar_name Name +# define ar_mode Mode +# define ar_size Size +# define ar_date Date +# define ar_uid UserID +# define ar_gid GroupID +#endif /* Cray's apparently defines this. */ #ifndef AR_HDR_SIZE -- cgit v1.2.3