3667
|
1 diff -ur pstoedit-3.62.orig/src/cppcomp.h pstoedit-3.62/src/cppcomp.h |
|
2 --- pstoedit-3.62.orig/src/cppcomp.h 2014-07-25 09:09:48 -0400 |
|
3 +++ pstoedit-3.62/src/cppcomp.h 2014-07-25 09:12:17 -0400 |
|
4 @@ -33,7 +33,12 @@ |
|
5 # define DLLEXPORT |
|
6 #endif |
|
7 |
|
8 - |
|
9 +#ifdef __MINGW32__ |
|
10 + #include <_mingw.h> |
|
11 + #ifdef MINGW_HAS_SECURE_API |
|
12 + #undef MINGW_HAS_SECURE_API |
|
13 + #endif |
|
14 +#endif |
|
15 |
|
16 |
|
17 #ifdef _AIX |
|
18 diff -ur pstoedit-3.62.orig/src/lexyy.cpp pstoedit-3.62/src/lexyy.cpp |
|
19 --- pstoedit-3.62.orig/src/lexyy.cpp 2014-07-25 09:19:14 -0400 |
|
20 +++ pstoedit-3.62/src/lexyy.cpp 2014-07-25 09:20:00 -0400 |
|
21 @@ -14,6 +14,7 @@ |
|
22 #endif |
|
23 |
|
24 /* First, we deal with platform-specific or compiler-specific issues. */ |
|
25 +#include "cppcomp.h" |
|
26 |
|
27 /* begin standard C headers. */ |
|
28 #include <stdio.h> |
3974
|
29 diff -ur pstoedit-3.70.orig/src/fillpoly.cpp pstoedit-3.70/src/fillpoly.cpp |
|
30 --- pstoedit-3.70.orig/src/fillpoly.cpp 2015-06-13 07:21:31.042850400 -0400 |
|
31 +++ pstoedit-3.70/src/fillpoly.cpp 2015-06-13 07:28:44.826540800 -0400 |
|
32 @@ -1,6 +1,6 @@ |
|
33 /* this file is taken from the hp2xx project (http://www.gnu.org/software/hp2xx/hp2xx.html) |
|
34 and slightly adapted to fit into pstoedit s framework */ |
|
35 - |
|
36 +#include "cppcomp.h" |
|
37 #include <stdio.h> |
|
38 #include <stdlib.h> |
|
39 #include <string.h> |
|
40 diff -ur pstoedit-3.70.orig/src/drvwmf.cpp pstoedit-3.70/src/drvwmf.cpp |
|
41 --- pstoedit-3.70.orig/src/drvwmf.cpp 2015-06-13 08:02:48.035020200 -0400 |
|
42 +++ pstoedit-3.70/src/drvwmf.cpp 2015-06-13 08:03:33.555528400 -0400 |
|
43 @@ -22,6 +22,8 @@ |
|
44 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
45 |
|
46 */ |
|
47 +#include "cppcomp.h" |
|
48 + |
|
49 #include "drvwmf.h" |
|
50 |
|
51 #include I_string_h |