diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32uniscribe.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index b1056bc104e..0e4177d06bf 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c | |||
| @@ -25,6 +25,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 25 | of calling non-existent functions. */ | 25 | of calling non-existent functions. */ |
| 26 | #undef _WIN32_WINNT | 26 | #undef _WIN32_WINNT |
| 27 | #define _WIN32_WINNT 0x500 | 27 | #define _WIN32_WINNT 0x500 |
| 28 | /* MinGW64 w32api headers by default define OPENTYPE_TAG typedef only | ||
| 29 | if _WIN32_WINNT >= 0x0600; defining UNISCRIBE_OPENTYPE as below | ||
| 30 | makes that typedef visible even for lower values of _WIN32_WINNT. | ||
| 31 | Mingw.org's w32api headers don't use UNISCRIBE_OPENTYPE at all, and | ||
| 32 | the OPENTYPE_TAG typedef is defined unconditionally there. */ | ||
| 33 | #ifdef UNISCRIBE_OPENTYPE | ||
| 34 | # undef UNISCRIBE_OPENTYPE | ||
| 35 | #endif | ||
| 36 | #define UNISCRIBE_OPENTYPE 0x0100 | ||
| 28 | #include <windows.h> | 37 | #include <windows.h> |
| 29 | #include <usp10.h> | 38 | #include <usp10.h> |
| 30 | 39 | ||