diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-05-16 10:08:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-05-16 10:08:24 -0400 |
commit | d9ceab5bc3611fa6ed4e2f58d38ff26860eeeb3c (patch) | |
tree | aaa30f6162272c0eb1c940df4579f57400ecf7aa /src/test/test.c | |
parent | d5ccaa6e2b8c73a1d9d43b82c782c7b10557fe5c (diff) | |
download | tor-d9ceab5bc3611fa6ed4e2f58d38ff26860eeeb3c.tar.gz tor-d9ceab5bc3611fa6ed4e2f58d38ff26860eeeb3c.zip |
Fix some remaining nmake/msvc build issues
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 7f196aacf4..c2dba924e4 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -71,6 +71,9 @@ int have_failed = 0; /** Temporary directory (set up by setup_directory) under which we store all * our files during testing. */ static char temp_dir[256]; +#ifdef _WIN32 +#define pid_t unsigned +#endif static pid_t temp_dir_setup_in_pid = 0; /** Select and create the temporary directory we'll use to run our unit tests. |