OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0dd5d6
)
external environ reference should be declared in default namespace
author
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 10 Jul 2019 17:23:52 +0000
(17:23 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 10 Jul 2019 17:23:52 +0000
(17:23 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/io/qprocess_unix.cpp
patch
|
blob
|
history
diff --git
a/src/core/io/qprocess_unix.cpp
b/src/core/io/qprocess_unix.cpp
index
6740e82
..
295ddf7
100644
(file)
--- a/
src/core/io/qprocess_unix.cpp
+++ b/
src/core/io/qprocess_unix.cpp
@@
-57,6
+57,8
@@
//#define QPROCESS_DEBUG
+extern char **environ;
+
QT_BEGIN_NAMESPACE
#if defined QPROCESS_DEBUG
@@
-92,8
+94,6
@@
static QByteArray qt_prettyDebug(const char *data, int len, int maxSize)
}
#endif
-extern char **environ;
-
// POSIX requires PIPE_BUF to be 512 or larger
// so we will use 512
static const int errorBufferMax = 512;