diff options
Diffstat (limited to 'src/w32term.h')
| -rw-r--r-- | src/w32term.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/w32term.h b/src/w32term.h index 72fb8a76e35..83535b8faa3 100644 --- a/src/w32term.h +++ b/src/w32term.h | |||
| @@ -745,6 +745,21 @@ extern int w32_system_caret_height; | |||
| 745 | extern int w32_system_caret_x; | 745 | extern int w32_system_caret_x; |
| 746 | extern int w32_system_caret_y; | 746 | extern int w32_system_caret_y; |
| 747 | 747 | ||
| 748 | #ifdef _MSC_VER | ||
| 749 | #ifndef EnumSystemLocales | ||
| 750 | /* MSVC headers define these only for _WIN32_WINNT >= 0x0500. */ | ||
| 751 | typedef BOOL (CALLBACK *LOCALE_ENUMPROCA)(LPSTR); | ||
| 752 | typedef BOOL (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR); | ||
| 753 | BOOL WINAPI EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD); | ||
| 754 | BOOL WINAPI EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD) | ||
| 755 | #ifdef UNICODE | ||
| 756 | #define EnumSystemLocales EnumSystemLocalesW | ||
| 757 | #else | ||
| 758 | #define EnumSystemLocales EnumSystemLocalesA | ||
| 759 | #endif | ||
| 760 | #endif | ||
| 761 | #endif | ||
| 762 | |||
| 748 | #if EMACSDEBUG | 763 | #if EMACSDEBUG |
| 749 | extern const char* | 764 | extern const char* |
| 750 | w32_name_of_message (UINT msg); | 765 | w32_name_of_message (UINT msg); |