]> granicus.if.org Git - libatomic_ops/commit
Fix test_malloc failure if CPPCHECK is defined
authorIvan Maidanski <ivmai@mail.ru>
Tue, 25 Oct 2016 07:31:29 +0000 (10:31 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 25 Oct 2016 07:31:29 +0000 (10:31 +0300)
commit4c303bc9276d04792f24d2a1f3ff7d8365a2397a
treee45ad878befac221a69491276ce470e9f8694c24
parent30596717d2c3580e826b4660efdf1b1926fa1073
Fix test_malloc failure if CPPCHECK is defined
(fix commit c1a7aad)

* src/atomic_ops_malloc.c [USE_MMAP_ANON && MAP_ANONYMOUS]
(OPT_MAP_ANON): Define to MAP_ANON (instead of 0) if CPPCHECK.
src/atomic_ops_malloc.c