diff --git a/core/libs/tests/GuestPosixSpawn.cpp b/core/libs/tests/GuestPosixSpawn.cpp index d71e652950..04a204b538 100644 --- a/core/libs/tests/GuestPosixSpawn.cpp +++ b/core/libs/tests/GuestPosixSpawn.cpp @@ -21,7 +21,7 @@ extern "C" int kill(int, int); #endif -#if defined(__linux__) +#ifndef _WIN32 extern char** environ; #endif