projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compilation warning by MinGW GCC.
[deliverable/binutils-gdb.git]
/
libiberty
/
setenv.c
diff --git
a/libiberty/setenv.c
b/libiberty/setenv.c
index 96917d5769f484e8f923de5ec75278b4319be6fe..921e9688601d1b1ec5ceacd7771b871ad88ca8c9 100644
(file)
--- a/
libiberty/setenv.c
+++ b/
libiberty/setenv.c
@@
-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.