From: Fletcher T. Penney <fletcher@fletcherpenney.net> Date: Mon, 20 Nov 2017 20:07:50 +0000 (-0500) Subject: FIXED: Fix issue in Windows code X-Git-Tag: 6.3.0^2~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9efeef1df8b214decefe2e039831d02fbe3dd99f;p=multimarkdown FIXED: Fix issue in Windows code --- diff --git a/Sources/libMultiMarkdown/file.h b/Sources/libMultiMarkdown/file.h index 6c13a3a..0c20108 100644 --- a/Sources/libMultiMarkdown/file.h +++ b/Sources/libMultiMarkdown/file.h @@ -144,4 +144,10 @@ void split_path_file(char ** dir, char ** file, const char * path); // Convert argument to absolute path char * absolute_path_for_argument(const char * arg); + +#if (defined(_WIN32) || defined(__WIN32__)) +// Windows does not know realpath(), so we need a "windows port" +char *realpath(const char *path, char *resolved_path); +#endif + #endif