Make subthreadcreate test compilable even without libatomic_ops
authorIvan Maidanski <ivmai@mail.ru>
Tue, 29 May 2018 18:01:23 +0000 (21:01 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 29 May 2018 18:02:43 +0000 (21:02 +0300)
commita9aa12ac46fd2369acfc9c8122b571f07c0b3f35
tree016fa1b4ba0e5f4b3644c66a7801b6a527413ddc
parent387a566a204af010496260113e2311bb04a6a529
Make subthreadcreate test compilable even without libatomic_ops
(fix of commit 4becbc906)

* tests/subthread_create.c [HAVE_CONFIG_H]: Update comment.
* tests/subthread_create.c: Do not include gc.h and gc_atomic_ops.h
(and do not define AO_REQUIRE_CAS) unless GC_THREADS is defined.
tests/subthread_create.c