diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-19 10:17:09 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-01-11 10:44:33 +0100 |
commit | 1baf34a1369ed323717c215d69bb6261b89cb5d7 (patch) | |
tree | 3c2805f0aa33568c951eec8f22261a186200e9cb /include/qemu | |
parent | c0a6665c3c4d63b113ab31c624c53d4a32de2926 (diff) | |
download | qemu-1baf34a1369ed323717c215d69bb6261b89cb5d7.zip qemu-1baf34a1369ed323717c215d69bb6261b89cb5d7.tar.gz qemu-1baf34a1369ed323717c215d69bb6261b89cb5d7.tar.bz2 |
chardev: clean up chardev-parallel.c
Replace HAVE_CHARDEV_PARPORT with a Meson conditional, remove unnecessary
defines, and close the file descriptor on FreeBSD/DragonFly.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r-- | include/qemu/osdep.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 7d059ad..bd23a08 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -427,11 +427,6 @@ void qemu_anon_ram_free(void *ptr, size_t size); #define HAVE_CHARDEV_SERIAL 1 #endif -#if defined(__linux__) || defined(__FreeBSD__) || \ - defined(__FreeBSD_kernel__) || defined(__DragonFly__) -#define HAVE_CHARDEV_PARPORT 1 -#endif - #if defined(__HAIKU__) #define SIGIO SIGPOLL #endif |