Fix compilation warning by MinGW GCC.
[deliverable/binutils-gdb.git] / libiberty / setenv.c
index 96917d5769f484e8f923de5ec75278b4319be6fe..921e9688601d1b1ec5ceacd7771b871ad88ca8c9 100644 (file)
@@ -63,8 +63,11 @@ extern int errno;
 
 #define __environ      environ
 #ifndef HAVE_ENVIRON_DECL
+/* MinGW defines environ to call a function.  */
+#ifndef environ
 extern char **environ;
 #endif
+#endif
 
 #undef setenv
 #undef unsetenv
This page took 0.023119 seconds and 4 git commands to generate.