* libclamav/ole2_extract.c: Change directives in
accordance with clamav-config.h - should fix-up
what (tk) was trying to do.
git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@258 77e5149b-7576-45b1-b177-96237e5ba77b
... | ... |
@@ -1,3 +1,10 @@ |
1 |
+Mon Feb 9 13:52:30 GMT 2004 (trog) |
|
2 |
+----------------------------------- |
|
3 |
+ |
|
4 |
+ * libclamav/ole2_extract.c: Change directives in |
|
5 |
+ accordance with clamav-config.h - should fix-up |
|
6 |
+ what (tk) was trying to do. |
|
7 |
+ |
|
1 | 8 |
Mon Feb 9 13:40:37 GMT 2004 (trog) |
2 | 9 |
----------------------------------- |
3 | 10 |
|
... | ... |
@@ -42,7 +42,7 @@ |
42 | 42 |
|
43 | 43 |
#define MIN(a, b) (((a) < (b)) ? (a) : (b)) |
44 | 44 |
|
45 |
-#ifdef WORDS_LITTLEENDIAN |
|
45 |
+#if WORDS_BIGENDIAN == 0 |
|
46 | 46 |
#define ole2_endian_convert_16(v) (v) |
47 | 47 |
#else |
48 | 48 |
static uint16_t ole2_endian_convert_16(uint16_t v) |
... | ... |
@@ -51,7 +51,7 @@ static uint16_t ole2_endian_convert_16(uint16_t v) |
51 | 51 |
} |
52 | 52 |
#endif |
53 | 53 |
|
54 |
-#ifdef WORDS_LITTLEENDIAN |
|
54 |
+#if WORDS_BIGENDIAN == 0 |
|
55 | 55 |
#define ole2_endian_convert_32(v) (v) |
56 | 56 |
#else |
57 | 57 |
static uint32_t ole2_endian_convert_32(uint32_t v) |