mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/Misc: Fixed macro redefinition warnings when building for running under helgrind
(cherry picked from commit ec5700c2a2)
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
# endif
|
||||
# if defined(HELGRIND)
|
||||
# include <valgrind/helgrind.h>
|
||||
# undef _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE
|
||||
# undef _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER
|
||||
# define _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(A) ANNOTATE_HAPPENS_BEFORE(A)
|
||||
# define _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(A) ANNOTATE_HAPPENS_AFTER(A)
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user