[PATCH] D13938: [office-ispell] Use POSIX-compliant termios.h header on Linux instead of termio.h & sgtty.h.
Vasileios Kalintiris via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 21 05:52:21 PDT 2015
vkalintiris created this revision.
vkalintiris added a subscriber: llvm-commits.
http://reviews.llvm.org/D13938
Files:
MultiSource/Benchmarks/MiBench/office-ispell/term.c
Index: MultiSource/Benchmarks/MiBench/office-ispell/term.c
===================================================================
--- MultiSource/Benchmarks/MiBench/office-ispell/term.c
+++ MultiSource/Benchmarks/MiBench/office-ispell/term.c
@@ -72,8 +72,7 @@
#include "msgs.h"
#include <signal.h>
-#if defined(__GLIBC__) || defined(__FreeBSD__) || defined(__APPLE__)
-/* Use termios under at least glibc */
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)
#include <termios.h>
#define USE_TERMIOS
#ifndef USG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13938.37997.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151021/98e4008b/attachment.bin>
More information about the llvm-commits
mailing list