From: Ivan Maidanski Date: Tue, 28 Nov 2017 23:57:28 +0000 (+0300) Subject: Adjust AO_HAVE_x check to match AO_fetch_and_add primitive variant used X-Git-Tag: v8.0.0~488 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e1cb6294210a5b836151c6a91fae6f3dba94bf3;p=platform%2Fupstream%2Flibgc.git Adjust AO_HAVE_x check to match AO_fetch_and_add primitive variant used (fix commit 6043293) * tests/subthread_create.c: Replace "ifdef AO_HAVE_fetch_and_add" with "ifdef AO_HAVE_fetch_and_add1". --- diff --git a/tests/subthread_create.c b/tests/subthread_create.c index d83a76a..059c47a 100644 --- a/tests/subthread_create.c +++ b/tests/subthread_create.c @@ -16,7 +16,7 @@ #include -#ifdef AO_HAVE_fetch_and_add +#ifdef AO_HAVE_fetch_and_add1 #ifdef GC_PTHREADS # include @@ -150,4 +150,4 @@ int main(void) return 0; } -#endif /* !AO_HAVE_fetch_and_add */ +#endif /* !AO_HAVE_fetch_and_add1 */