projects
/
deliverable
/
titan.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cde4dd
)
clang specific define in Runtime.cc
author
ebensza
<bence.janos.szabo@ericsson.com>
Thu, 12 May 2016 12:23:35 +0000
(14:23 +0200)
committer
ebensza
<bence.janos.szabo@ericsson.com>
Thu, 12 May 2016 12:23:35 +0000
(14:23 +0200)
Signed-off-by: ebensza <bence.janos.szabo@ericsson.com>
core/Runtime.cc
patch
|
blob
|
blame
|
history
diff --git
a/core/Runtime.cc
b/core/Runtime.cc
index fd4423e6a8b00ff206f17c0385f5a0d8fd89e53e..164bc858a02f08c2f70c8468e7684e0c0d91968a 100644
(file)
--- a/
core/Runtime.cc
+++ b/
core/Runtime.cc
@@
-2895,7
+2895,12
@@
void TTCN_Runtime::wait_terminated_processes()
errno = 0;
for ( ; ; ) {
int statuscode;
+#ifdef __clang__
struct rusage r_usage = {{0,0},{0,0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}};
+#else
+ struct rusage r_usage = {{0,0},{0,0},0,0,0,0,0,0,0,0,0,0,0,0,0,0};
+#endif
+
#ifdef INTERIX
pid_t child_pid = waitpid(-1, &statuscode, WNOHANG);
getrusage(RUSAGE_CHILDREN, &r_usage);
This page took
0.02439 seconds
and
5
git commands to generate.