summaryrefslogtreecommitdiffstats
path: root/tools/gifconv/hdfgifwr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gifconv/hdfgifwr.c')
-rw-r--r--tools/gifconv/hdfgifwr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gifconv/hdfgifwr.c b/tools/gifconv/hdfgifwr.c
index b13b79a..9804098 100644
--- a/tools/gifconv/hdfgifwr.c
+++ b/tools/gifconv/hdfgifwr.c
@@ -152,7 +152,9 @@ static unsigned long cur_accum = 0;
static int cur_bits = 0;
#define MAXCODE(n_bits) ( (1 << (n_bits)) - 1)
+#ifndef WIN32
#define min(a,b) ((a>b) ? b : a)
+#endif
#define XV_BITS 12 /* BITS was already defined on some systems */
#define MSDOS 1
#define HSIZE 5003 /* 80% occupancy */