2007-03-13 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mono / metadata / icall.c
index cedc649af652e319e4b7342c67796c3164dd6850..66f929d8b6288a755ac7f8246629b41a87584270 100644 (file)
@@ -5653,12 +5653,12 @@ ves_icall_System_Environment_GetEnvironmentVariable (MonoString *name)
 /*
  * There is no standard way to get at environ.
  */
-#ifndef __MINGW32_VERSION
 #ifndef _MSC_VER
+#ifndef __MINGW32_VERSION
 extern
-#endif
 char **environ;
 #endif
+#endif
 
 static MonoArray *
 ves_icall_System_Environment_GetEnvironmentVariableNames (void)