Commit graph

3 commits

Author SHA1 Message Date
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
37d3f6374b kpty: use tcgetattr & tcsetattr if available
From: Pino Toscano <pino@kde.org>
Date: Sat, 16 May 2015 13:25:56 +0000
Subject: Use tcgetattr & tcsetattr if available
X-Git-Tag: v5.11.0
X-Git-Url: http://quickgit.kde.org/?p=kpty.git&a=commitdiff&h=35ea45b588db9afcbd796576833ac338c6b4b8e8
---
Use tcgetattr & tcsetattr if available

Look for tcgetattr & tcsetattr, and use them if found before trying the
own OS checks. They are specified by POSIX.1-2008, so they should be
available on platforms implementing modern POSIX interfaces.

The rest of the fallback code is left as is for platforms not previously
using tcgetattr & tcsetattr.

REVIEW: 123811
---
2015-06-16 15:47:55 +03:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00