]> git.proxmox.com Git - mirror_qemu.git/commit
char-pty: remove unnecessary #ifdef
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Aug 2018 10:38:20 +0000 (12:38 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Oct 2018 17:09:12 +0000 (19:09 +0200)
commit27e18b8952f8b7a1e26350846f8a0d5a9b33bfb8
tree21357650407ceccaae8a274dd2b32d58dfc060c9
parent5b9d17bb7605da6abe92f4f1c5e40efc0c081eb4
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: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
chardev/char-pty.c