diff options
author | Andy Wingo <wingo@pobox.com> | 2013-03-09 16:39:47 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-03-09 16:47:21 +0100 |
commit | 09b204d38756f0fa9ab4319874c8ce2838488dd0 (patch) | |
tree | 0e338d1eaf251b6dfa2ba81770231281a1d3d469 /libguile/Makefile.am | |
parent | 7e369c38993cc7cf4063a6cadc8496552abf323d (diff) |
squish remove some mingw-specific code that is covered by gnulib
* libguile/socket.c (scm_init_socket): Remove mingw-specific code.
* libguile/fports.c: Remove ftruncate redefine; mingw is fine.
(scm_i_fdes_to_port): If we have no F_GETFL, just do an fstat. The
right place for an F_GETFL replacement would be in gnulib.
(fport_input_waiting): Remove an outdated comment.
* libguile/error.c (SCM_I_STRERROR, SCM_I_ERRNO): Remove, replacing uses
with strerror and errno.
* libguile/win32-socket.c:
* libguile/win32-socket.h: Remove. Mingw has suitable replacements.
* configure.ac:
* libguile/Makefile.am (EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES):
(noinst_HEADERS): Update for win32-socket removal.
Diffstat (limited to 'libguile/Makefile.am')
-rw-r--r-- | libguile/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/Makefile.am b/libguile/Makefile.am index 8df2f7c4a..d77bdfe2d 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -434,7 +434,7 @@ EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES = _scm.h \ dynl.c regex-posix.c \ posix.c net_db.c socket.c \ debug-malloc.c mkstemp.c \ - win32-uname.c win32-socket.c \ + win32-uname.c \ locale-categories.h ## delete guile-snarf.awk from the installation bindir, in case it's @@ -450,7 +450,7 @@ install-exec-hook: noinst_HEADERS = conv-integer.i.c conv-uinteger.i.c \ srfi-14.i.c \ quicksort.i.c \ - win32-uname.h win32-socket.h \ + win32-uname.h \ private-gc.h private-options.h # vm instructions |