]> git.ipfire.org Git - thirdparty/tor.git/commit
Several mingw/msvc/cross-compilation fixes
authorNick Mathewson <nickm@torproject.org>
Thu, 26 Apr 2012 22:34:47 +0000 (18:34 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 26 Apr 2012 22:36:25 +0000 (18:36 -0400)
commit9dddfe83f3041e1504d2def5622633eb59a9756f
tree974508700093e95e301d87ae4602ad0793451b80
parentf86bd1d5a4a5d71f7a529966341a37dbadd7a79f
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.
changes/mingw-fixes [new file with mode: 0644]
src/common/util.c
src/test/test_util.c