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> |