]> granicus.if.org Git - libatomic_ops/commit
Avoid misleading 'AO_t undefined' error if wrong atomic_ops.h included
authorIvan Maidanski <ivmai@mail.ru>
Thu, 8 Jun 2017 21:52:07 +0000 (00:52 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 8 Jun 2017 21:52:07 +0000 (00:52 +0300)
commitd0bbf851dfcacab57dc0f2e588bd90f5c20a6a67
treef8d0aab4c1899566c56ed4c65145f74922f2e45e
parent8f153757e0fa5347f08d76c47496684bf56015e6
Avoid misleading 'AO_t undefined' error if wrong atomic_ops.h included

This change might be useful e.g. in case of compilation by Hexagon SDK
which has own atomic_ops.h file (not related to libatomic_ops).

* tests/run_parallel.h [!CPPCHECK]: Issue #error if AO_ATOMIC_OPS_H is
not defined after #include atomic_ops.h.
tests/run_parallel.h