diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-01-31 10:42:41 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-01-31 10:42:41 -0500 |
commit | 48424772aa9a7b3ed4710471a205a841d69337bd (patch) | |
tree | 9dc6e9ec25b1015eb8593cd88d0cf130bcf1dcc0 /src | |
parent | 2b29c8f48f5c4b9b172e5975adba61a72a275a7a (diff) | |
download | tor-48424772aa9a7b3ed4710471a205a841d69337bd.tar.gz tor-48424772aa9a7b3ed4710471a205a841d69337bd.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |