summaryrefslogtreecommitdiff
path: root/libtextstyle/lib/textstyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtextstyle/lib/textstyle.h')
-rw-r--r--libtextstyle/lib/textstyle.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libtextstyle/lib/textstyle.h b/libtextstyle/lib/textstyle.h
index 4ab09fdcf..ce0bf6e01 100644
--- a/libtextstyle/lib/textstyle.h
+++ b/libtextstyle/lib/textstyle.h
@@ -1,5 +1,5 @@
/* Public API of the libtextstyle library.
- Copyright (C) 2006-2007, 2019-2020 Free Software Foundation, Inc.
+ Copyright (C) 2006-2007, 2019-2021 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -690,9 +690,11 @@ extern void libtextstyle_set_failure_exit_code (int exit_code);
extern "C" {
# endif
+# if !((defined isatty && defined _GL_UNISTD_H) || defined GNULIB_overrides_isatty) /* don't override gnulib */
extern int libtextstyle_isatty (int fd);
-# undef isatty
-# define isatty libtextstyle_isatty
+# undef isatty
+# define isatty libtextstyle_isatty
+# endif
# ifdef __cplusplus
}