]> git.ipfire.org Git - thirdparty/libvirt.git/commit
src: conditionally exclude cfmakeraw/termios.h on WIN32
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 9 Jan 2020 13:18:50 +0000 (13:18 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 17 Jan 2020 10:02:01 +0000 (10:02 +0000)
commit7c828af8586fcbbf6d4bad4817c5476cd6536a8b
tree8b16959baecf7fb7eb72ba7da48112386d3b6f25
parentfa434739a0fff3c642233cdca6ad00e9e89cbe61
src: conditionally exclude cfmakeraw/termios.h on WIN32

The GNULIB termios module ensures termios.h exists (but
is none the less empty) when building for Windows. We
already exclude usage of the functions that would exist
in a real termios.h, so having an empty termios.h is
not especially useful.

It is simpler to just put all use of termios.h related
functions behind a "#ifndef WIN32" conditional.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
configure.ac
src/util/virfdstream.c
src/util/virfile.c
src/util/virutil.c
tools/virsh.h
tools/vsh.c
tools/vsh.h