diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-02 08:40:28 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-02 08:40:28 +0000 |
commit | 24367e4cfdd9a3290fb456069c26a508b769cef6 (patch) | |
tree | 2a375c9782fb340377d757654c870b786dcfdbdc /Build/source/libs/xpdf | |
parent | 6409e03d423ca6b33a233312155c08637b18c597 (diff) |
bug fixes for mingw32 cross build
git-svn-id: svn://tug.org/texlive/trunk@12596 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/xpdf')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-3.02-mingw32.patch | 14 | ||||
-rw-r--r-- | Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-3.02-mingw32.patch b/Build/source/libs/xpdf/xpdf-3.02-mingw32.patch new file mode 100644 index 00000000000..ce4921e0372 --- /dev/null +++ b/Build/source/libs/xpdf/xpdf-3.02-mingw32.patch @@ -0,0 +1,14 @@ +diff -ur xpdf-3.02.orig/xpdf/GlobalParams.cc xpdf-3.02/xpdf/GlobalParams.cc +--- xpdf-3.02.orig/xpdf/GlobalParams.cc 2009-03-20 08:45:16.000000000 +0100 ++++ xpdf-3.02/xpdf/GlobalParams.cc 2009-04-02 10:22:18.000000000 +0200 +@@ -44,6 +44,10 @@ + + #include <aconf.h> + ++#ifdef __MINGW32__ ++#undef WIN32 ++#endif ++ + #ifdef USE_GCC_PRAGMAS + #pragma implementation + #endif diff --git a/Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc b/Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc index 4ed52dde7fc..c4ecd967806 100644 --- a/Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc +++ b/Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc @@ -44,6 +44,10 @@ #include <aconf.h> +#ifdef __MINGW32__ +#undef WIN32 +#endif + #ifdef USE_GCC_PRAGMAS #pragma implementation #endif |