Skip to content

Commit 8bf0f17

Browse files
devnexenpm215
authored andcommitted
osdep.h: For Haiku, define SIGIO as equivalent to SIGPOLL
Haiku doesn't provide SIGIO; fix this up in osdep.h by defining it as equal to SIGPOLL. Signed-off-by: David Carlier <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: Peter Maydell <[email protected]> Message-id: [email protected] [PMM: Expanded commit message] Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
1 parent 2a4b472 commit 8bf0f17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/qemu/osdep.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,10 @@ void qemu_anon_ram_free(void *ptr, size_t size);
432432
#define HAVE_CHARDEV_PARPORT 1
433433
#endif
434434

435+
#if defined(__HAIKU__)
436+
#define SIGIO SIGPOLL
437+
#endif
438+
435439
#if defined(CONFIG_LINUX)
436440
#ifndef BUS_MCEERR_AR
437441
#define BUS_MCEERR_AR 4

0 commit comments

Comments
 (0)