summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/seetexk/error.h')
-rw-r--r--Build/source/texk/seetexk/error.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/seetexk/error.h b/Build/source/texk/seetexk/error.h
index a9b8f8cb865..e23be057ea6 100644
--- a/Build/source/texk/seetexk/error.h
+++ b/Build/source/texk/seetexk/error.h
@@ -30,3 +30,8 @@ void error(int quit, int e, const char *fmt, ...);
void panic(const char *fmt, ...);
void SetErrorTrap(void (*fn)(int quit, const char *text));
+
+#if defined(WIN32) && defined(KPATHSEA)
+#undef vfprintf
+#define vfprintf win32_vfprintf
+#endif