blob: 53a431f334a401e9f83ee5e96897674df95277b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
WIN32TeX uses MSVC 5.0 with the kpathsea headers and library.
diff -ur -N xpdf-3.04.orig/xpdf/GlobalParams.cc xpdf-3.04/xpdf/GlobalParams.cc
--- xpdf-3.04.orig/xpdf/GlobalParams.cc 2014-05-30 19:47:44.000000000 +0200
+++ xpdf-3.04/xpdf/GlobalParams.cc 2014-05-30 19:52:04.000000000 +0200
@@ -52,6 +52,8 @@
#include "GlobalParams.h"
#ifdef _WIN32
+# undef strcasecmp
+# undef strncasecmp
# define strcasecmp stricmp
# define strncasecmp strnicmp
#else
diff -ur -N xpdf-3.04.orig/xpdf/config.h xpdf-3.04/xpdf/config.h
--- xpdf-3.04.orig/xpdf/config.h 2014-05-28 20:50:50.000000000 +0200
+++ xpdf-3.04/xpdf/config.h 2014-05-30 19:52:04.000000000 +0200
@@ -78,11 +78,6 @@
// popen
//------------------------------------------------------------------------
-#if defined(_MSC_VER) || defined(__BORLANDC__)
-#define popen _popen
-#define pclose _pclose
-#endif
-
#if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(_WIN32) || defined(__DJGPP__) || defined(MACOS)
#define POPEN_READ_MODE "rb"
#else
|