From 48424772aa9a7b3ed4710471a205a841d69337bd Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 31 Jan 2012 10:42:41 -0500 Subject: Actually enable the windows absolute-path code Checking for "WINDOWS" is wrong; our magic macro is MS_WINDOWS Fixes bug 4973; bugfix on 0.2.3.11-alpha. --- src/common/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/compat.c b/src/common/compat.c index 4af670a18d..cd112035c6 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -1628,7 +1628,7 @@ get_parent_directory(char *fname) char * make_path_absolute(char *fname) { -#ifdef WINDOWS +#ifdef MS_WINDOWS char *absfname_malloced = _fullpath(NULL, fname, 1); /* We don't want to assume that tor_free can free a string allocated -- cgit v1.2.3-54-g00ecf