aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.h
diff options
context:
space:
mode:
authorGlenn Morris2012-11-17 17:52:36 -0800
committerGlenn Morris2012-11-17 17:52:36 -0800
commit2ac9538d674ab0aa937d22b68fef9136ddd904b9 (patch)
tree81cf8c6762c0443ca2debe490ecfa7c1e55d2da0 /src/w32term.h
parentc9ed8e3d2ba6c7d6eda82a39cbfa87729f1ca53e (diff)
parent291a654dad6d4604ed4db80885b3af04e64c944f (diff)
downloademacs-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.h15
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;
745extern int w32_system_caret_x; 745extern int w32_system_caret_x;
746extern int w32_system_caret_y; 746extern int w32_system_caret_y;
747 747
748#ifdef _MSC_VER
749#ifndef EnumSystemLocales
750/* MSVC headers define these only for _WIN32_WINNT >= 0x0500. */
751typedef BOOL (CALLBACK *LOCALE_ENUMPROCA)(LPSTR);
752typedef BOOL (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR);
753BOOL WINAPI EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD);
754BOOL 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
749extern const char* 764extern const char*
750w32_name_of_message (UINT msg); 765w32_name_of_message (UINT msg);