diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-04-26 18:34:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-04-26 18:36:25 -0400 |
commit | 9dddfe83f3041e1504d2def5622633eb59a9756f (patch) | |
tree | 974508700093e95e301d87ae4602ad0793451b80 /src/common | |
parent | f86bd1d5a4a5d71f7a529966341a37dbadd7a79f (diff) | |
download | tor-9dddfe83f3041e1504d2def5622633eb59a9756f.tar.gz tor-9dddfe83f3041e1504d2def5622633eb59a9756f.zip |
Several mingw/msvc/cross-compilation fixes
They boil down to:
- MS_WINDOWS is dead and replaced with _WIN32, but we let a few
instances creep in when we merged Esteban's tests.
- Capitalizing windows header names confuses mingw.
- #ifdef 0 ain't C.
- One unit test wasn't compiled on windows, but was being listed
anyway.
- One unit test was checking for the wrong value.
Gisle Vanem found and fixed the latter 3 issues.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 551ee1796f..276c6dd13b 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -31,7 +31,7 @@ #include <direct.h> #include <process.h> #include <tchar.h> -#include <Winbase.h> +#include <winbase.h> #else #include <dirent.h> #include <pwd.h> |