[test-suite] r231834 - darwin/apple provides termios.h

Matthias Braun matze at braunis.de
Tue Mar 10 13:19:18 PDT 2015


Author: matze
Date: Tue Mar 10 15:19:18 2015
New Revision: 231834

URL: http://llvm.org/viewvc/llvm-project?rev=231834&view=rev
Log:
darwin/apple provides termios.h

The previously used fallback sgtty.h is only provided by OS X but not by the
iOS SDK.

Modified:
    test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c

Modified: test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c?rev=231834&r1=231833&r2=231834&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c Tue Mar 10 15:19:18 2015
@@ -72,7 +72,7 @@ static char Rcs_Id[] =
 #include "msgs.h"
 #include <signal.h>
 
-#if defined(__GLIBC__) || defined(__FreeBSD__)
+#if defined(__GLIBC__) || defined(__FreeBSD__) || defined(__APPLE__)
 /* Use termios under at least glibc */
 #include <termios.h>
 #define USE_TERMIOS





More information about the llvm-commits mailing list