summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-22 12:09:38 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-22 12:09:38 +0000
commitb287d7f6a13823ea17e0bd415981d3a5953ca703 (patch)
treea420b28a35f7761f064d50bb610dbb2b46c71486 /Build/source/utils/psutils
parent5fd6fd3479fcbbda52ebca7b5e80a5aaa1add69f (diff)
build system: various small fixes for mingw32 cross compilation
still incomplete git-svn-id: svn://tug.org/texlive/trunk@17141 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/psutils')
-rw-r--r--Build/source/utils/psutils/ChangeLog4
-rw-r--r--Build/source/utils/psutils/config.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/utils/psutils/ChangeLog b/Build/source/utils/psutils/ChangeLog
index a55466980a4..a3b8a56b3b9 100644
--- a/Build/source/utils/psutils/ChangeLog
+++ b/Build/source/utils/psutils/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * config.h: Do not #include <win32lib.h> for MinGW32.
+
2009-08-27 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid maximal compiler warnings.
diff --git a/Build/source/utils/psutils/config.h b/Build/source/utils/psutils/config.h
index 13562326755..88af01a9027 100644
--- a/Build/source/utils/psutils/config.h
+++ b/Build/source/utils/psutils/config.h
@@ -10,9 +10,9 @@
#define OPEN_WRITE "wb"
#include <fcntl.h>
#include <io.h>
-#ifdef WIN32
+#if defined(WIN32) && !defined(__MINGW32__)
#include <win32lib.h>
-#endif /* WIN32 */
+#endif /* WIN32 && !__MINGW32__ */
#else /* ! MSDOS && ! WINNT && ! WIN32 */
#if defined(OS2)
#define TMPDIR "."