summaryrefslogtreecommitdiffstats
path: root/include/qemu
diff options
context:
space:
mode:
authorMikhail Gusarov2020-04-26 23:09:58 +0200
committerLaurent Vivier2020-05-04 14:35:23 +0200
commit949da1eb9db9df0d998ad2f3086979e4e23a44a1 (patch)
treef57e3d43b86cc48fa11c37239242ed6cf98d3f81 /include/qemu
parentMAINTAINERS: Update Keith Busch's email address (diff)
downloadqemu-949da1eb9db9df0d998ad2f3086979e4e23a44a1.tar.gz
qemu-949da1eb9db9df0d998ad2f3086979e4e23a44a1.tar.xz
qemu-949da1eb9db9df0d998ad2f3086979e4e23a44a1.zip
chardev: Add macOS to list of OSes that support -chardev serial
macOS API for dealing with serial ports/ttys is identical to BSDs. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200426210956.17324-1-dottedmag@dottedmag.net> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/osdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 20f5c5f197..ff7c17b857 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -379,7 +379,7 @@ void qemu_anon_ram_free(void *ptr, size_t size);
#define HAVE_CHARDEV_SERIAL 1
#elif defined(__linux__) || defined(__sun__) || defined(__FreeBSD__) \
|| defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) \
- || defined(__GLIBC__)
+ || defined(__GLIBC__) || defined(__APPLE__)
#define HAVE_CHARDEV_SERIAL 1
#endif