summaryrefslogtreecommitdiff
path: root/extract.c
diff options
context:
space:
mode:
Diffstat (limited to 'extract.c')
-rw-r--r--extract.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extract.c b/extract.c
index 035f2d2..07035b1 100644
--- a/extract.c
+++ b/extract.c
@@ -1242,7 +1242,7 @@ static void huff_init_tree(struct huffman_tree *ht, struct huffman_tree_item *hi
/*
* Compression structure (size: 12596 bytes on x86-32)
*/
-#ifdef WIN32
+#ifdef _MSC_VER
#pragma pack(1)
#endif
typedef struct {
@@ -1276,7 +1276,7 @@ typedef struct {
unsigned char clen_bits[0x10]; /* 3104 - Number of valid bits for copied block */
unsigned short len_base[0x10]; /* 3114 - Buffer for */
}
-#ifndef WIN32
+#ifndef _MSC_VER
__attribute__ ((packed))
#endif
pkzip_data_cmp;