summaryrefslogtreecommitdiffstats
path: root/common/jpeg/jchuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/jpeg/jchuff.c')
-rw-r--r--common/jpeg/jchuff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/jpeg/jchuff.c b/common/jpeg/jchuff.c
index e40cfe35..b05c8e71 100644
--- a/common/jpeg/jchuff.c
+++ b/common/jpeg/jchuff.c
@@ -384,7 +384,7 @@ dump_buffer (working_state * state)
put_buffer = (put_buffer << size) | code; \
}
-#if __WORDSIZE==64
+#if __WORDSIZE==64 || defined(_WIN64)
#define DUMP_BITS(code, size) { \
CHECKBUF47() \
@@ -425,7 +425,7 @@ dump_buffer (working_state * state)
int _max=0;
-#if __WORDSIZE==64
+#if __WORDSIZE==64 || defined(_WIN64)
#define DUMP_VALUE(ht, codevalue, t, nbits) { \
size = ht->ehufsi[codevalue]; \