summaryrefslogtreecommitdiff
path: root/payloads/libpayload/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/crypto')
-rw-r--r--payloads/libpayload/crypto/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/crypto/sha1.c b/payloads/libpayload/crypto/sha1.c
index 615ed7222f..721d1a4da7 100644
--- a/payloads/libpayload/crypto/sha1.c
+++ b/payloads/libpayload/crypto/sha1.c
@@ -30,7 +30,7 @@ typedef unsigned int u_int;
/* Moved from libpayload.h */
-#ifdef CONFIG_LP_LITTLE_ENDIAN
+#if IS_ENABLED(CONFIG_LP_LITTLE_ENDIAN)
#define BYTE_ORDER LITTLE_ENDIAN
#else
#define BYTE_ORDER BIG_ENDIAN