summaryrefslogtreecommitdiff
path: root/include/lib/xlat_tables/xlat_tables_v2_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/xlat_tables/xlat_tables_v2_helpers.h')
-rw-r--r--include/lib/xlat_tables/xlat_tables_v2_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib/xlat_tables/xlat_tables_v2_helpers.h b/include/lib/xlat_tables/xlat_tables_v2_helpers.h
index 28228c4c..96dee1a0 100644
--- a/include/lib/xlat_tables/xlat_tables_v2_helpers.h
+++ b/include/lib/xlat_tables/xlat_tables_v2_helpers.h
@@ -168,7 +168,7 @@ struct xlat_ctx {
* This IMAGE_EL macro must not to be used outside the library, and it is only
* used in AArch64.
*/
-#if IMAGE_BL1 || IMAGE_BL31
+#if defined(IMAGE_BL1) || defined(IMAGE_BL31)
# define IMAGE_EL 3
# define IMAGE_XLAT_DEFAULT_REGIME EL3_REGIME
#else