]> granicus.if.org Git - gc/commit
Workaround cppcheck warnings regarding CLOCKS_PER_SEC, REDIRECT_REALLOC
authorIvan Maidanski <ivmai@mail.ru>
Wed, 14 Nov 2018 08:02:01 +0000 (11:02 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 14 Nov 2018 08:02:01 +0000 (11:02 +0300)
commit85422f3fcd4ff4d7644569a6c3f68b3c5beb99b2
tree886ec800ef13678967da9680a5da48de3d0072e1
parent208846413a70a2a92979e8a87de28b6ac93b806a
Workaround cppcheck warnings regarding CLOCKS_PER_SEC, REDIRECT_REALLOC

Also, this commit adjusts the workaround for FIXUP_POINTER.

* include/private/gcconfig.h [CPPCHECK] (CLOCKS_PER_SEC, FIXUP_POINTER,
POINTER_MASK, POINTER_SHIFT, REDIRECT_REALLOC): Undefine.
* include/private/gcconfig.h [!FIXUP_POINTER && POINTER_MASK]
(FIXUP_POINTER): Same definition regardless of CPPCHECK.
include/private/gcconfig.h