1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-26 15:10:50 -08:00
emacs/lib-src
Eli Zaretskii bc96f6e827 Implement getaddrinfo fallback for MS-Windows
See http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg01602.html
for more details.

* nt/mingw-cfg.site (ac_cv_func_getaddrinfo)
(ac_cv_func_gai_strerror): Set to "yes", as the configure script's
test program is not smart enough to auto-detect these.
* nt/inc/sys/socket.h (getaddrinfo, freeaddrinfo): Redirect to
sys_getaddrinfo and sys_freeaddrinfo.  Provide prototypes for
sys_getaddrinfo and sys_freeaddrinfo.

* src/w32.c (init_winsock): Try loading getaddrinfo and
freeaddrinfo from ws2_32.dll.
(sys_getaddrinfo, sys_freeaddrinfo): New functions.

* lib-src/pop.c [WINDOWSNT]: Include winsock2.h, not winsock.h,
and also ws2tcpip.h.
(getaddrinfo, freeaddrinfo) [WINDOWSNT]: Redirect to
sys_getaddrinfo and sys_freeaddrinfo, respectively.
(load_ws2, sys_getaddrinfo, sys_freeaddrinfo) [WINDOWSNT]: New
functions.
2016-03-05 12:12:58 +02:00
..
ChangeLog.1 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
COPYING
ctags.c Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Update copyright year to 2016 2016-01-01 01:34:24 -08:00
emacsclient.c Update copyright year to 2016 2016-01-01 01:34:24 -08:00
etags.c Merge from origin/emacs-25 2016-02-09 14:23:10 -08:00
hexl.c Update copyright year to 2016 2016-01-01 01:34:24 -08:00
make-docfile.c * lib-src/make-docfile.c: Include stdarg.h. 2016-02-11 12:51:08 -08:00
Makefile.in Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
movemail.c Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ntlib.c Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ntlib.h Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pop.c Implement getaddrinfo fallback for MS-Windows 2016-03-05 12:12:58 +02:00
pop.h Update copyright year to 2016 2016-01-01 01:34:24 -08:00
profile.c Update copyright year to 2016 2016-01-01 01:34:24 -08:00
rcs2log Port "$@" to OpenIndiana ksh93 2016-01-24 17:29:01 -08:00
README
update-game-score.c Update copyright year to 2016 2016-01-01 01:34:24 -08:00
update-game-score.exe.manifest Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.