diff options
author | Roland McGrath <roland@redhat.com> | 2003-01-10 20:05:54 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2003-01-10 20:05:54 +0000 |
commit | 38dc6bb84fefe9e310177afe09cf37f88a2abb67 (patch) | |
tree | 44deb0ce6ccd654c0026ecdd026b3eef57fcda15 /stream.c | |
parent | acf06ef2e3e3b7f808c982cc86d402da981260bb (diff) | |
download | strace-38dc6bb84fefe9e310177afe09cf37f88a2abb67.tar.gz strace-38dc6bb84fefe9e310177afe09cf37f88a2abb67.tar.bz2 strace-38dc6bb84fefe9e310177afe09cf37f88a2abb67.tar.xz |
2003-01-10 Roland McGrath <roland@redhat.com>
* configure.ac: Check struct T_conn_res for QUEUE_ptr or ACCEPTOR_id.
* stream.c (print_transport_message): Use #ifdefs for those members.
Diffstat (limited to 'stream.c')
-rw-r--r-- | stream.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -708,8 +708,13 @@ int len; #ifdef T_CONN_RES case T_CONN_RES: /* connect response */ GET (T_CONN_RES, conn_res); +#ifdef HAVE_STRUCT_T_CONN_RES_QUEUE_PTR COMMA (); tprintf ("QUEUE=%p", m.conn_res.QUEUE_ptr); +#elif defined HAVE_STRUCT_T_CONN_RES_ACCEPTOR_ID + COMMA (); + tprintf ("QUEUE=%p", m.conn_res.ACCEPTOR_id); +#endif ADDR (conn_res, OPT); COMMA (); tprintf ("SEQ=%ld", m.conn_res.SEQ_number); |