blob: 7e32af1a8b689b145d5ff1baf5affbdf91594be4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
This file is part of MXE.
See index.html for further information.
This patch has been taken from:
http://tech.groups.yahoo.com/group/pdflib/message/20472
diff -urN a/libs/pdcore/pc_util.c b/libs/pdcore/pc_util.c
--- a/libs/pdcore/pc_util.c 2010-04-29 15:50:05.000000000 +0200
+++ b/libs/pdcore/pc_util.c 2010-05-11 23:59:03.915954995 +0200
@@ -30,8 +30,12 @@
#include <ieeefp.h> /* for finite */
#endif
-#if defined (isfinite)
+#if defined(isfinite)
#define PDC_ISFINITE isfinite
+#if defined(__MINGW32__)
+/* MinGW has infinite, but we still need DWORD */
+#include <windef.h>
+#endif
#else /* isfinite */
#if defined(WIN32)
|