File: patch-06-MINGW

package info (click to toggle)
texlive-bin 2012.20120628-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 240,500 kB
  • sloc: ansic: 890,229; cpp: 469,960; perl: 73,550; sh: 47,106; makefile: 16,643; python: 8,657; lisp: 6,684; xml: 3,926; lex: 3,791; java: 3,569; pascal: 3,569; yacc: 2,460; exp: 2,031; ruby: 1,415; objc: 1,362; tcl: 631; sed: 522; asm: 435; csh: 46; awk: 30
file content (15 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -ur psutils-1.17.orig/config.h psutils-1.17/config.h
--- psutils-1.17.orig/config.h	2006-01-17 22:16:42.000000000 +0100
+++ psutils-1.17/config.h	2010-02-20 12:23:30.000000000 +0100
@@ -10,9 +10,9 @@
 #define OPEN_WRITE "wb"
 #include <fcntl.h>
 #include <io.h>
-#if defined(WIN32)
+#if defined(WIN32) && !defined(__MINGW32__)
 #include <win32lib.h>
-#endif /* WIN32 */
+#endif /* WIN32 && !__MINGW32__ */
 #else /* ! MSDOS && ! WINNT && ! WIN32 */
 #if defined(OS2)
 #define TMPDIR "."