qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] char-pty: remove unnecessary #ifdef


From: Roman Bolshakov
Subject: Re: [Qemu-devel] [PATCH] char-pty: remove unnecessary #ifdef
Date: Thu, 23 Aug 2018 01:12:09 +0300
User-agent: NeoMutt/20180323

On Wed, Aug 22, 2018 at 12:38:35PM +0200, Paolo Bonzini wrote:
> 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.
> 

Thanks Paolo!

FWIW, qemu_openpty_raw and qemu_pipe are declared for all operating
systems except _WIN32 in qemu-common.h. For sake of symmetry, should the
declarations be available only for CONFIG_POSIX?

--
Roman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]