From dd738fa62450b0577861b199f3c128cb6a1c3c24 Mon Sep 17 00:00:00 2001 From: Trog Date: Mon, 9 Feb 2004 13:52:27 +0000 Subject: [PATCH] Mon Feb 9 13:52:30 GMT 2004 (trog) ----------------------------------- * libclamav/ole2_extract.c: Change directives in accordance with clamav-config.h - should fix-up what (tk) was trying to do. git-svn: trunk@258 --- clamav-devel/ChangeLog | 7 +++++++ clamav-devel/libclamav/ole2_extract.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/clamav-devel/ChangeLog b/clamav-devel/ChangeLog index 2db645195..8789921a0 100644 --- a/clamav-devel/ChangeLog +++ b/clamav-devel/ChangeLog @@ -1,3 +1,10 @@ +Mon Feb 9 13:52:30 GMT 2004 (trog) +----------------------------------- + + * libclamav/ole2_extract.c: Change directives in + accordance with clamav-config.h - should fix-up + what (tk) was trying to do. + Mon Feb 9 13:40:37 GMT 2004 (trog) ----------------------------------- diff --git a/clamav-devel/libclamav/ole2_extract.c b/clamav-devel/libclamav/ole2_extract.c index 22bc6b828..01548c9a4 100644 --- a/clamav-devel/libclamav/ole2_extract.c +++ b/clamav-devel/libclamav/ole2_extract.c @@ -42,7 +42,7 @@ #define MIN(a, b) (((a) < (b)) ? (a) : (b)) -#ifdef WORDS_LITTLEENDIAN +#if WORDS_BIGENDIAN == 0 #define ole2_endian_convert_16(v) (v) #else static uint16_t ole2_endian_convert_16(uint16_t v) @@ -51,7 +51,7 @@ static uint16_t ole2_endian_convert_16(uint16_t v) } #endif -#ifdef WORDS_LITTLEENDIAN +#if WORDS_BIGENDIAN == 0 #define ole2_endian_convert_32(v) (v) #else static uint32_t ole2_endian_convert_32(uint32_t v)