Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb3a285b authored by Yi Kong's avatar Yi Kong Committed by android-build-merger
Browse files

Merge "Ignore expansion-to-defined warning from dlmalloc include"

am: a54a6608

Change-Id: I0d214c2996647b1bd6ad35f9e6b0050c38206160
parents 0b414e25 a54a6608
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -61,7 +61,10 @@ static void heap_error(const char* msg, const char* function, void* p);
#define USAGE_ERROR_ACTION(m,p) \
    heap_error("ARGUMENT IS INVALID HEAP ADDRESS", __FUNCTION__, p)

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wexpansion-to-defined"
#include "../../../../external/dlmalloc/malloc.c"
#pragma GCC diagnostic pop

static void heap_error(const char* msg, const char* function, void* p) {
    ALOG(LOG_FATAL, LOG_TAG, "@@@ ABORTING: CODE FLINGER: %s IN %s addr=%p",