blob: 36721a7bc5cc8ba77725ebc08b7b03ca2c73d8d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Always undefine min/max before redefining them (for MinGW32).
diff -ur dvipng-1.12.orig/dvipng.h dvipng-1.12/dvipng.h
--- dvipng-1.12.orig/dvipng.h 2009-10-01 11:14:10.000000000 +0200
+++ dvipng-1.12/dvipng.h 2010-02-20 18:20:53.496938715 +0100
@@ -518,10 +518,8 @@
#ifdef HAVE_GDIMAGEPNGEX
EXTERN int compression INIT(1);
#endif
-#ifdef MIKTEX
#undef min
#undef max
-#endif /* MIKTEX */
# define max(x,y) if ((y)>(x)) x = y
# define min(x,y) if ((y)<(x)) x = y
|