From 2affa60e19f6fa56166f63003285156a2ff0dfc0 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 6 Nov 2012 00:31:16 +0100 Subject: [PATCH] test: remove unnecessary #ifdef _WIN32 This is a back-port of commit 4d17337 from the master branch. --- test/test-spawn.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/test-spawn.c b/test/test-spawn.c index f383d652bd..43e8010079 100644 --- a/test/test-spawn.c +++ b/test/test-spawn.c @@ -388,11 +388,7 @@ TEST_IMPL(spawn_preserve_env) { options.stdio[1].data.stream = (uv_stream_t*) &out; options.stdio_count = 2; -#ifdef _WIN32 r = putenv("ENV_TEST=testval"); -#else - r = setenv("ENV_TEST", "testval", 1); -#endif ASSERT(r == 0); /* Explicitly set options.env to NULL to test for env clobbering. */