diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-05 06:44:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-05 06:44:40 +0000 |
commit | 1749cefdad726f2a44510a6c46d904b6e837dcc9 (patch) | |
tree | 844e660413b38c13a8742e4e2684ebc4d26a3a3e /cpukit/libcsupport/src/isatty.c | |
parent | 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-1749cefdad726f2a44510a6c46d904b6e837dcc9.tar.bz2 |
Compile contents conditionally.
Diffstat (limited to 'cpukit/libcsupport/src/isatty.c')
-rw-r--r-- | cpukit/libcsupport/src/isatty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/isatty.c b/cpukit/libcsupport/src/isatty.c index d1ee06ee97..b29ce7b53d 100644 --- a/cpukit/libcsupport/src/isatty.c +++ b/cpukit/libcsupport/src/isatty.c @@ -13,6 +13,8 @@ #include "config.h" #endif +#ifndef HAVE_ISATTY + #include <sys/stat.h> int isatty( @@ -29,3 +31,5 @@ int isatty( return 0; } + +#endif |