1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

(HAVE_RESTARTABLE_SYSCALLS): Do define even when

SCM_COPT_THREADS is defined.
(SCM_SYSCALL): Use EINTR-expection version when SCM_COPT_THREADS
is defined.
This commit is contained in:
Marius Vollmer 2002-11-03 01:01:43 +00:00
parent 05166e1aac
commit 845944c3d9

View file

@ -90,14 +90,12 @@
when installing signal handlers.
*/
/* However, don't assume SA_RESTART works with pthreads... */
#ifdef USE_COPT_THREADS
#undef HAVE_RESTARTABLE_SYSCALLS
#endif
#ifdef HAVE_RESTARTABLE_SYSCALLS
#ifndef USE_COPT_THREADS /* However, don't assume SA_RESTART
works with pthreads... */
#define SCM_SYSCALL(line) line
#endif
#endif
#ifndef SCM_SYSCALL
#ifdef vms