projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
0454069
)
testing: attempt to fix clang-7
author
Michael Wallner
<mike@php.net>
Mon, 5 Oct 2020 08:17:17 +0000
(10:17 +0200)
committer
Michael Wallner
<mike@php.net>
Mon, 5 Oct 2020 08:17:17 +0000
(10:17 +0200)
test/lib/Server.hpp
patch
|
blob
|
history
diff --git
a/test/lib/Server.hpp
b/test/lib/Server.hpp
index b90ac8d7a4a38943695aca5a0b8ad4309b31411e..bfbab812259a44ec14118fa221d577009368874f 100644
(file)
--- a/
test/lib/Server.hpp
+++ b/
test/lib/Server.hpp
@@
-33,7
+33,12
@@
public:
pipe = exchange(s.pipe, -1);
status = exchange(s.status, 0);
signalled = exchange(s.signalled, {});
+#if __clang__ && __clang_major__ <= 7
+ socket_or_port = s.socket_or_port;
+ s.socket_or_port = 11211;
+#else
socket_or_port = exchange(s.socket_or_port, 11211);
+#endif
output = exchange(s.output, {});
return *this;
};