Commit b4508088 authored by Pierre Ynard's avatar Pierre Ynard

WinCE: try to fix make_path()

Untested
parent 82afaa71
......@@ -1185,7 +1185,7 @@ char *make_path (const char *url)
#endif
/* Leading slash => local path */
if (*path == DIR_SEP_CHAR)
#ifndef WIN32
#if !defined (WIN32) || defined (UNDER_CE)
return path;
#else
return memmove (path, path + 1, strlen (path + 1) + 1);
......@@ -1226,6 +1226,7 @@ char *make_path (const char *url)
ret = NULL;
}
#else
/* XXX: Does this work on WinCE? */
if (fd < 2)
ret = strdup ("CON");
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment