summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex/chktex-1.7.1/FindErrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/chktex/chktex-1.7.1/FindErrs.c')
-rw-r--r--Build/source/texk/chktex/chktex-1.7.1/FindErrs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/chktex/chktex-1.7.1/FindErrs.c b/Build/source/texk/chktex/chktex-1.7.1/FindErrs.c
index 4cfc7fa509b..6ec6e6828f8 100644
--- a/Build/source/texk/chktex/chktex-1.7.1/FindErrs.c
+++ b/Build/source/texk/chktex/chktex-1.7.1/FindErrs.c
@@ -33,12 +33,13 @@
#include "Utility.h"
#include "Resource.h"
-/* Not everyone has stpcpy() */
+#if !(defined HAVE_DECL_STPCPY && HAVE_DECL_STPCPY)
static inline char *
stpcpy(char *dest, const char *src)
{
return strcpy(dest, src) + strlen(src);
}
+#endif
#if HAVE_PCRE || HAVE_POSIX_ERE