summaryrefslogtreecommitdiff
path: root/src/tool_doswin.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-10-05 00:03:20 +0200
committerYang Tse <yangsita@gmail.com>2011-10-05 00:03:58 +0200
commit49b79b76316248d5233d08006234933913faaa3b (patch)
tree3122e6c5390cb4118296a915308baea7216c4e09 /src/tool_doswin.c
parentca2c32636191ba33dbad91e88d8ceecc74bacbd1 (diff)
downloadcurl-49b79b76316248d5233d08006234933913faaa3b.tar.gz
curl tool: code moved to tool_*.[ch] files
Diffstat (limited to 'src/tool_doswin.c')
-rw-r--r--src/tool_doswin.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tool_doswin.c b/src/tool_doswin.c
index 5250b2cee..b45522b53 100644
--- a/src/tool_doswin.c
+++ b/src/tool_doswin.c
@@ -231,6 +231,19 @@ static char *rename_if_dos_device_name (char *file_name)
return file_name;
}
+#if defined(MSDOS) && (defined(__DJGPP__) || defined(__GO32__))
+
+/*
+ * Disable program default argument globbing. We do it on our own.
+ */
+char **__crt0_glob_function(char *arg)
+{
+ (void)arg;
+ return (char**)0;
+}
+
+#endif /* MSDOS && (__DJGPP__ || __GO32__) */
+
#ifdef WIN32
/*