summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/texmfmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/lib/texmfmp.c')
-rw-r--r--Build/source/texk/web2c/lib/texmfmp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c
index 4ae5c262602..e138136c94c 100644
--- a/Build/source/texk/web2c/lib/texmfmp.c
+++ b/Build/source/texk/web2c/lib/texmfmp.c
@@ -486,7 +486,12 @@ shell_cmd_is_allowed (const char *cmd, char **safecmd, char **cmdname)
1 if shell escapes are not restricted, hence any command is allowed.
2 if shell escapes are restricted and CMD is allowed (possibly after
quoting). */
-
+
+#ifdef WIN32
+#undef system
+#define system fsyscp_system
+#endif
+
int
runsystem (const char *cmd)
{