A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an example for isend and ireceive functions.
[simgrid.git]
/
acmacro
/
va_copy.m4
diff --git
a/acmacro/va_copy.m4
b/acmacro/va_copy.m4
index
54ec0fb
..
2ea0096
100644
(file)
--- a/
acmacro/va_copy.m4
+++ b/
acmacro/va_copy.m4
@@
-67,7
+67,8
@@
m4_define(__va_copy_check, [
[/* Predefined possible va_copy() implementation (id: $1) */
#define __VA_COPY_USE_$1(d, s) $2])
if test ".$ac_cv_va_copy" = .; then
[/* Predefined possible va_copy() implementation (id: $1) */
#define __VA_COPY_USE_$1(d, s) $2])
if test ".$ac_cv_va_copy" = .; then
- AC_TRY_RUN(__va_copy_test($2), [ac_cv_va_copy="$1"])
+ AC_TRY_RUN(__va_copy_test($2), [ac_cv_va_copy="$1"],,[ac_cv_va_copy="$1"])
+ dnl Let's be optimistic and use C99 version when cross-compiling
fi
])
fi
])