## Makefile for the toplevel directory of GNU libtextstyle
-## Copyright (C) 1995-2022 Free Software Foundation, Inc.
+## Copyright (C) 1995-2023 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
gnulib-local/lib/html-styled-ostream.oo.h \
gnulib-local/lib/iconv-ostream.oo.c \
gnulib-local/lib/iconv-ostream.oo.h \
+ gnulib-local/lib/isatty.c.diff \
gnulib-local/lib/libcroco/cr-additional-sel.c \
gnulib-local/lib/libcroco/cr-additional-sel.h \
gnulib-local/lib/libcroco/cr-attr-sel.c \
--- /dev/null
+*** isatty.c.orig 2023-09-06 17:28:49.893388907 +0200
+--- isatty.c 2023-09-06 17:30:02.718035282 +0200
+***************
+*** 162,167 ****
+--- 162,171 ----
+ # define _isatty_nothrow _isatty
+ #endif
+
++ #ifdef IN_LIBTEXTSTYLE
++ # define isatty libtextstyle_isatty
++ #endif
++
+ /* Determine whether FD refers to a console device. Return 1 if yes.
+ Return 0 and set errno if no. (ptsname_r relies on the errno value.) */
+ int
echo '#include "../config.h"'; \
echo; \
echo '#endif /* LIBTEXTSTYLE_CONFIG_H */'; \
- case "@host_os@" in \
- mingw* | windows*) echo '#define isatty libtextstyle_isatty' ;; \
- esac; \
} > config.h && \
if test -n "$(NAMESPACING)" && test -n "$(HAVE_GLOBAL_SYMBOL_PIPE)"; then \
{ \