mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
* config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
This commit is contained in:
parent
907a9cabb8
commit
95f2d25323
@ -1,3 +1,7 @@
|
||||
Wed Jun 30 20:06:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
|
||||
|
||||
Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* inftarg.c: Remove unused include of terminal.h.
|
||||
|
@ -5,3 +5,8 @@ extern char *strdup();
|
||||
|
||||
#define MEM_FNS_DECLARED
|
||||
#define NO_PTRACE_H
|
||||
|
||||
/* Old versions of ultrix have fd_set but not the FD_* macros. */
|
||||
|
||||
#define FD_SET(bit,fdsetp) ((fdsetp)->fds_bits[(n) / 32] |= (1 << ((n) % 32)))
|
||||
#define FD_ZERO(fdsetp) memset (fdsetp, 0, sizeof (*fdsetp))
|
||||
|
Loading…
Reference in New Issue
Block a user