diff options
| author | Glenn Morris | 2012-11-17 17:52:36 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-11-17 17:52:36 -0800 |
| commit | 2ac9538d674ab0aa937d22b68fef9136ddd904b9 (patch) | |
| tree | 81cf8c6762c0443ca2debe490ecfa7c1e55d2da0 /src/w32term.h | |
| parent | c9ed8e3d2ba6c7d6eda82a39cbfa87729f1ca53e (diff) | |
| parent | 291a654dad6d4604ed4db80885b3af04e64c944f (diff) | |
| download | emacs-2ac9538d674ab0aa937d22b68fef9136ddd904b9.tar.gz emacs-2ac9538d674ab0aa937d22b68fef9136ddd904b9.zip | |
Merge from emacs-24; up to 2012-11-15T23:31:37Z!dancol@dancol.org
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); |