mirror of
https://github.com/simh/simh.git
synced 2026-01-13 15:27:14 +00:00
slirp: Accommodate building under newer C++ compilers
This commit is contained in:
parent
ee45ae1a08
commit
9e60a8e783
@ -314,7 +314,7 @@ void slirp_pollfds_fill(GArray *pollfds, uint32_t *timeout)
|
||||
|
||||
for (so = slirp->tcb.so_next; so != &slirp->tcb;
|
||||
so = so_next) {
|
||||
int events = 0;
|
||||
gushort events = 0;
|
||||
|
||||
so_next = so->so_next;
|
||||
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
#define inline __inline
|
||||
#endif
|
||||
|
||||
#define register
|
||||
|
||||
#if defined __GNUC__
|
||||
# if !QEMU_GNUC_PREREQ(4, 4)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user