mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
* interp.c: (SYS_wait): Define as SYS_wait4 if available and
SYS_wait is not already defined (SunOS 4.1.3 for example). (SYS_utime): Define as SYS_utimes if available and SYS_utime is not already defined.
This commit is contained in:
parent
8c7fd353f9
commit
7427b968f3
@ -1,3 +1,10 @@
|
||||
Thu Jun 29 10:02:28 1995 Fred Fish <fnf@deneb.cygnus.com>
|
||||
|
||||
* interp.c: (SYS_wait): Define as SYS_wait4 if available and
|
||||
SYS_wait is not already defined (SunOS 4.1.3 for example).
|
||||
(SYS_utime): Define as SYS_utimes if available and
|
||||
SYS_utime is not already defined.
|
||||
|
||||
Thu Jun 22 17:25:57 1995 Steve Chamberlain <sac@slash.cygnus.com>
|
||||
|
||||
* interp.c: Don't include sys/times.h or sys/param.h
|
||||
|
@ -24,6 +24,14 @@
|
||||
#include "remote-sim.h"
|
||||
#include <sys/syscall.h>
|
||||
|
||||
#if !defined (SYS_wait) && defined (SYS_wait4)
|
||||
#define SYS_wait SYS_wait4 /* SunOS 4.1.3 for example */
|
||||
#endif
|
||||
|
||||
#if !defined (SYS_utime) && defined (SYS_utimes)
|
||||
#define SYS_utime SYS_utimes /* SunOS 4.1.3 for example */
|
||||
#endif
|
||||
|
||||
#ifndef SIGBUS
|
||||
#define SIGBUS SIGSEGV
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user