diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-01 01:10:22 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-01 01:10:22 +0000 |
commit | 95f2d25323e3233a675df759f23b261fa4ea08ea (patch) | |
tree | 91145ff2657bc58c63c8d8bde301feaccdc9991e /gdb/config/vax | |
parent | 907a9cabb8760d132fc5649ca827b5b05678c0b0 (diff) | |
download | gdb-95f2d25323e3233a675df759f23b261fa4ea08ea.zip gdb-95f2d25323e3233a675df759f23b261fa4ea08ea.tar.gz gdb-95f2d25323e3233a675df759f23b261fa4ea08ea.tar.bz2 |
* config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
Diffstat (limited to 'gdb/config/vax')
-rw-r--r-- | gdb/config/vax/xm-vaxult2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/vax/xm-vaxult2.h b/gdb/config/vax/xm-vaxult2.h index 5bbed5b..f3e2550 100644 --- a/gdb/config/vax/xm-vaxult2.h +++ b/gdb/config/vax/xm-vaxult2.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)) |