]> granicus.if.org Git - multimarkdown/commitdiff
FIXED: Fix issue in Windows code
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Mon, 20 Nov 2017 20:07:50 +0000 (15:07 -0500)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Mon, 20 Nov 2017 20:07:50 +0000 (15:07 -0500)
Sources/libMultiMarkdown/file.h

index 6c13a3af13fc55f50d0f2d2538a3a77579c3734a..0c20108e69408c41a15e69fb795de2c80ff2eb64 100644 (file)
@@ -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