From 4cd21deebca0e75b77d62d8d748aa66453532d9b Mon Sep 17 00:00:00 2001 From: stijn Date: Sat, 3 May 2014 10:26:04 +0200 Subject: mingw: Add implementation of realpath() The mingw port used _fullpath() until now, but the behaviour is not exactly the same as realpath()'s on unix; major difference being that it doesn't return an error for non-existing files, which would bypass main's error checking and bail out without any error message. Also realpath() will return forward slashes only since main() relies on that. --- windows/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'windows/Makefile') diff --git a/windows/Makefile b/windows/Makefile index 2f5418886..351aad6f1 100644 --- a/windows/Makefile +++ b/windows/Makefile @@ -30,6 +30,7 @@ endif SRC_C = \ unix/main.c \ unix/file.c \ + realpath.c \ OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) -- cgit v1.2.3