summaryrefslogtreecommitdiff
path: root/src/vendorcode/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/intel')
-rw-r--r--src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h b/src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h
index 594bd8e5dd..cf95ad85ed 100644
--- a/src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h
+++ b/src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h
@@ -66,12 +66,14 @@ static inline void debug_dead_loop(void)
}
#define _ASSERT(expression) debug_dead_loop()
+#ifndef ASSERT
#define ASSERT(expression) \
do { \
if (!(expression)) { \
_ASSERT(expression); \
} \
} while (FALSE)
+#endif
//
// Contents of the PEI_GRAPHICS_INFO_HOB