Skip to content
Snippets Groups Projects
Commit 27e18b89 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

char-pty: remove unnecessary #ifdef


For some reason __APPLE__ was not checked in pty code.  However, the #ifdef
is redundant: this file is already compiled only if CONFIG_POSIX, same as
util/qemu-openpty.c which it uses.

Reported-by: default avatarRoman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 5b9d17bb
No related branches found
No related tags found
No related merge requests found
......@@ -31,10 +31,6 @@
#include "chardev/char-io.h"
#if defined(__linux__) || defined(__sun__) || defined(__FreeBSD__) \
|| defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) \
|| defined(__GLIBC__)
typedef struct {
Chardev parent;
QIOChannel *ioc;
......@@ -299,5 +295,3 @@ static void register_types(void)
}
type_init(register_types);
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment