summaryrefslogtreecommitdiff
path: root/libguile/scmsigs.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1997-06-24 01:45:30 +0000
committerJim Blandy <jimb@red-bean.com>1997-06-24 01:45:30 +0000
commitbb73cc183294b1a07306da0d3b6c038d98af0ee8 (patch)
tree503042e3a570f9b66602a2e47c8361946589aeb3 /libguile/scmsigs.c
parenteda764e9d4d69cd220cde9e0d2afaa67a854bc9d (diff)
downloadguile-bb73cc183294b1a07306da0d3b6c038d98af0ee8.tar.gz
Changes to compile under gnu-win32, from Marcus Daniels:
* stime.c (tzset): If tzset isn't provided, make it a NOP. (scm_localtime): Change SCM_EOF to SCM_EOL. (scm_mktime): Likewise. * socket.c: Don't include sys/un.h unless autoconf tells us Unix domain sockets are available. (scm_fill_sockaddr): Ignore Unix domain code. (scm_addr_vector): Likewise. (scm_init_addr_buffer): Likewise. (scm_socketpair): Don't include unless socketpair was found during autoconf. * simpos.c (SYSTNAME): Treat cygwin like Unix. * scmsigs.c (scm_pause): Don't include unless pause was found during autoconf. * posix.c (scm_getgroups): Don't include unless support function was found during autoconf (in this case, getgroups). (scm_setpwent): For setpwent. (scm_setegid): For setegid. * net_db.c (scm_inet_netof): Don't include unless support function was found during autoconf (in this case, inet_netof). (scm_lnaof): For inet_lnaof. (scm_inet_makeaddr): For inet_makeaddr. (scm_getnet): For getnetent, getnetbyname, getnetbyaddr. (scm_getproto): For getprotoent. (scm_getserv): For getservent. (scm_sethost): For sethostent, endhostent. (scm_setnet): For setnetent, endnetent. (scm_setproto): For setprotoent, endprotoent. (scm_setserv): For setservent, endservent.
Diffstat (limited to 'libguile/scmsigs.c')
-rw-r--r--libguile/scmsigs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c
index 57456e0fd..6440419fd 100644
--- a/libguile/scmsigs.c
+++ b/libguile/scmsigs.c
@@ -329,6 +329,7 @@ scm_alarm (i)
return SCM_MAKINUM (j);
}
+#ifdef HAVE_PAUSE
SCM_PROC(s_pause, "pause", 0, 0, 0, scm_pause);
SCM
@@ -337,6 +338,7 @@ scm_pause ()
pause ();
return SCM_UNSPECIFIED;
}
+#endif
SCM_PROC(s_sleep, "sleep", 1, 0, 0, scm_sleep);