diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-18 17:21:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-18 17:21:34 +0000 |
commit | 071d73d67e7cea60e7334f6ae96c1e8f8050a662 (patch) | |
tree | aa5c6b099874bce274019ec634bca7558acacf4b /include/llvm/Config | |
parent | a537bf83eda87a0eb65c278d673e51f76b0dd98b (diff) | |
download | external_llvm-071d73d67e7cea60e7334f6ae96c1e8f8050a662.zip external_llvm-071d73d67e7cea60e7334f6ae96c1e8f8050a662.tar.gz external_llvm-071d73d67e7cea60e7334f6ae96c1e8f8050a662.tar.bz2 |
termios.h contains the winsize structure we need to determine the
width of a terminal. Don't try to get the width of a terminal if we
don't have this header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config')
-rw-r--r-- | include/llvm/Config/config.h.cmake | 3 | ||||
-rw-r--r-- | include/llvm/Config/config.h.in | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake index 443afb1..caabf07 100644 --- a/include/llvm/Config/config.h.cmake +++ b/include/llvm/Config/config.h.cmake @@ -419,6 +419,9 @@ /* Define to 1 if the system has the type `uint64_t'. */ #undef HAVE_UINT64_T +/* Define to 1 if you have the <termios.h> header file. */ +#cmakedefine HAVE_TERMIOS_H ${HAVE_TERMIOS_H} + /* Define to 1 if you have the <unistd.h> header file. */ #cmakedefine HAVE_UNISTD_H ${HAVE_UNISTD_H} diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in index f0522e5..8ab67a4 100644 --- a/include/llvm/Config/config.h.in +++ b/include/llvm/Config/config.h.in @@ -419,6 +419,9 @@ /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ #undef HAVE_SYS_WAIT_H +/* Define to 1 if you have the <termios.h> header file. */ +#undef HAVE_TERMIOS_H + /* Define to 1 if the system has the type `uint64_t'. */ #undef HAVE_UINT64_T |