projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b983ad7
)
Adjust AO_HAVE_x check to match AO_fetch_and_add primitive variant used
author
Ivan Maidanski
<ivmai@mail.ru>
Tue, 28 Nov 2017 23:57:28 +0000
(
02:57
+0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Tue, 28 Nov 2017 23:57:28 +0000
(
02:57
+0300)
(fix commit 6043293)
* tests/subthread_create.c: Replace "ifdef AO_HAVE_fetch_and_add" with
"ifdef AO_HAVE_fetch_and_add1".
tests/subthread_create.c
patch
|
blob
|
history
diff --git
a/tests/subthread_create.c
b/tests/subthread_create.c
index
d83a76a
..
059c47a
100644
(file)
--- a/
tests/subthread_create.c
+++ b/
tests/subthread_create.c
@@
-16,7
+16,7
@@
#include <stdio.h>
-#ifdef AO_HAVE_fetch_and_add
+#ifdef AO_HAVE_fetch_and_add
1
#ifdef GC_PTHREADS
# include <pthread.h>
@@
-150,4
+150,4
@@
int main(void)
return 0;
}
-#endif /* !AO_HAVE_fetch_and_add */
+#endif /* !AO_HAVE_fetch_and_add
1
*/