2001-11-07 Stefan Jahn <stefan@lkcc.org>
authorStefan Jahn <stefan@lkcc.org>
Wed, 7 Nov 2001 15:08:45 +0000 (15:08 +0000)
committerStefan Jahn <stefan@lkcc.org>
Wed, 7 Nov 2001 15:08:45 +0000 (15:08 +0000)
commitb4e15479e93409413bb1dab28c53d9e80302b1ee
tree83649098cc7caa865dccfac0ff6309b9cc8c1a43
parent2ca222c2e93e3cd58ad95b984feb2c74d0310284
2001-11-07  Stefan Jahn  <stefan@lkcc.org>

        * configure.in: Include `win32-socket.o' in the list of object
        files if networking is enabled on Win32.

2001-11-07  Stefan Jahn  <stefan@lkcc.org>

        * win32-socket.[ch]: New files.  Defines Winsock-API error codes
        and makes them available through Guile.  That is because the
        Winsock-API does not store its errors in `errno' and thus cannot
        return error messages via `strerror (errno)'.

        * socket.c (scm_init_socket): Initialize `win32-socket' part
        here under M$-Windows.

        * numbers.h: Added missing declaration of
        `scm_sys_check_number_conversions()'.

        * error.c: Local definition of SCM_I_STRERROR and SCM_I_ERRNO
        and use in `(strerror)' and `(system-error)'.

        * Makefile.am (EXTRA_libguile_la_SOURCES): Added
        `win32-socket.[ch]' to extra source and header files.
12 files changed:
ChangeLog
configure.in
libguile/ChangeLog
libguile/Makefile.am
libguile/error.c
libguile/numbers.c
libguile/numbers.h
libguile/socket.c
libguile/win32-dirent.h
libguile/win32-socket.c [new file with mode: 0644]
libguile/win32-socket.h [new file with mode: 0644]
libguile/win32-uname.h