Fix bug #12878 with compilation failure with Visual C++ 11.0.
commitd8715cdf90538fa8abd3e2c23ed2efd23c4253c1
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 Nov 2012 18:51:06 +0000 (17 20:51 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 17 Nov 2012 18:51:06 +0000 (17 20:51 +0200)
tree746f15349cb6e83ba4d8082770a2d73f93d63b36
parent7436fc63c0c24eb7fee800176c387db87f51de50
Fix bug #12878 with compilation failure with Visual C++ 11.0.

 src/w32select.c: Include w32common.h before w32term.h, so that
 windows.h gets included before w32term.h uses some of its
 features, see below.
 src/w32term.h (LOCALE_ENUMPROCA, LOCALE_ENUMPROCW) [_MSC_VER]: New
 typedefs.
 (EnumSystemLocalesA, EnumSystemLocalesW) [_MSC_VER]: New
 prototypes.
 (EnumSystemLocales) [_MSC_VER]: Define if undefined.
src/ChangeLog
src/w32select.c
src/w32term.h