diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-05-14 17:59:46 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-05-14 17:59:46 (GMT) |
commit | 6f45b35ff46fcc339715d0360a9a998e0ef7cb2b (patch) | |
tree | f482f0f61d65733f3aed489715f9b5b44bb6c781 /src/pdflib_lite-1-mingw.patch | |
parent | 40f4cf1fbfe702ed8fce45868f88f4b52f3ae227 (diff) | |
download | mxe-6f45b35ff46fcc339715d0360a9a998e0ef7cb2b.zip mxe-6f45b35ff46fcc339715d0360a9a998e0ef7cb2b.tar.gz mxe-6f45b35ff46fcc339715d0360a9a998e0ef7cb2b.tar.bz2 |
improved naming of patch files
Diffstat (limited to 'src/pdflib_lite-1-mingw.patch')
-rw-r--r-- | src/pdflib_lite-1-mingw.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/pdflib_lite-1-mingw.patch b/src/pdflib_lite-1-mingw.patch new file mode 100644 index 0000000..16484c3 --- /dev/null +++ b/src/pdflib_lite-1-mingw.patch @@ -0,0 +1,23 @@ +This file is part of mingw-cross-env. +See doc/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) |