summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-07-23 22:03:46 +0000
committerwlemb <wlemb>2002-07-23 22:03:46 +0000
commita882980999fcf76abbbad889c8404403b7ba24f1 (patch)
tree97269bc03cca54aab88724c5a3298da472e89be8 /src/include
parent6a77aeb0689ddc08ce125a6c5fe5677690b9d3bc (diff)
downloadgroff-a882980999fcf76abbbad889c8404403b7ba24f1.tar.gz
* configure.ac: Test for isatty.
* configure: Regenerated. * src/include/posix.h: Check HAVE_ISATTY. * src/roff/troff/input.cc [ISATTY_MISSING]: Removed. * src/utils/lookbib/lookbib.cc: Include posix.h. Don't declare isatty. * NEWS: Add `output' request. * REVISION: Increased to 1.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/posix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/posix.h b/src/include/posix.h
index 9a03ecdb..e7f38cd1 100644
--- a/src/include/posix.h
+++ b/src/include/posix.h
@@ -57,3 +57,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef O_RDONLY
#define O_RDONLY 0
#endif
+
+#ifndef HAVE_ISATTY
+#define isatty(n) (1)
+#endif