From 1d65a1914de8af0a479efd24d45e6715148bd13b Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Thu, 24 Sep 2009 21:28:20 +0000 Subject: [PATCH] add defined _M_X86 || defined _M_X64 --- ChangeLog | 4 ++++ zzip/fetch.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 085bbbc..b33b6eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-09-24 guidod + + * zzip/fetch.h: add MSVC defines for x86/x64 that allows direct access + 2009-08-23 guidod * Makefile.mk: remove some old stuff related to the compilefarm diff --git a/zzip/fetch.h b/zzip/fetch.h index a103c89..ca51a80 100644 --- a/zzip/fetch.h +++ b/zzip/fetch.h @@ -43,7 +43,7 @@ extern void __zzip_set64(zzip_byte_t * s, uint64_t v); /* little endian on intel cisc processors is the original zip format byteorder */ #ifndef ZZIP_WORDS_BIGENDIAN # ifndef ZZIP_HAVE_ALIGNED_ACCESS_REQUIRED -# if defined __i386__ || defined __x86_64__ +# if defined __i386__ || defined __x86_64__ || defined _M_X86 || defined _M_X64 # define _ZZIP_USE_DEREF # endif #endif -- 2.40.0