mirror of https://github.com/xemu-project/xemu.git
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 <devnexen@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20200703145614.16684-6-peter.maydell@linaro.org [PMM: Expanded commit message] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
2a4b472c3c
commit
8bf0f1754a
|
@ -432,6 +432,10 @@ void qemu_anon_ram_free(void *ptr, size_t size);
|
||||||
#define HAVE_CHARDEV_PARPORT 1
|
#define HAVE_CHARDEV_PARPORT 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__HAIKU__)
|
||||||
|
#define SIGIO SIGPOLL
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_LINUX)
|
#if defined(CONFIG_LINUX)
|
||||||
#ifndef BUS_MCEERR_AR
|
#ifndef BUS_MCEERR_AR
|
||||||
#define BUS_MCEERR_AR 4
|
#define BUS_MCEERR_AR 4
|
||||||
|
|
Loading…
Reference in New Issue