bionic: add macro protection for MALLOC_ALIGNMENT

In previous commit: 2fd81ef7, .mk file has been modified to
configure MALLOC_ALIGNMENT dynamicly according to board config.
Add the missing macor protection here.

Change-Id: I703cca2ce0504ab3e11aab226b2c61fcc0c6afa1
Author: Jin Wei <wei.a.jin@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
This commit is contained in:
Jin Wei
2012-08-01 14:48:57 +08:00
committed by Elliott Hughes
parent ae7280994e
commit 9862f5e08b

View File

@@ -66,7 +66,9 @@ extern HashTable gHashTable;
// stack trace functions
// =============================================================================
#define MALLOC_ALIGNMENT 8
#ifndef MALLOC_ALIGNMENT
#define MALLOC_ALIGNMENT ((size_t)8U)
#endif
#define GUARD 0x48151642
#define DEBUG 0