Minor fixes for MinGW64 build.
authorFabrice Popineau <fabrice.popineau@supelec.fr>
Tue, 31 Dec 2013 16:01:34 +0000 (18:01 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 31 Dec 2013 16:01:34 +0000 (18:01 +0200)
commitbd717ca4f4c25e45dcb3b894323fd608ae278922
treeb61f9c9c54d45cd408bf2c8e1198db3e84172bec
parent535f0fbd00ab0cdb65c09270ea8df03f9528f127
Minor fixes for MinGW64 build.

 configure.ac (canonical, C_SWITCH_SYSTEM): Support a 64-bit
 MinGW64 build on MS-Windows.

 nt/inc/ms-w32.h (sys_kill): Fix prototype.

 src/w32term.c (w32_initialize): Use LCID and LOWORD.
 src/w32proc.c (create_child): Use pid_t for 5th argument.
 (IsValidLocale): Don't provide prototype for MinGW64.
 (Fw32_get_valid_keyboard_layouts, Fw32_get_keyboard_layout)
 (Fw32_set_keyboard_layout): Use HKL and HIWORD/LOWORD.
 src/w32heap.c (allocate_heap) [_WIN64]: Use "ull", not "i64", which
 MinGW64 doesn't support.
 src/lisp.h (EMACS_INT) [_WIN64]: Define for the MinGW64 build.
ChangeLog
configure.ac
nt/ChangeLog
nt/inc/ms-w32.h
src/ChangeLog
src/lisp.h
src/w32heap.c
src/w32proc.c
src/w32term.c