diff options
Diffstat (limited to 'payloads/libpayload/libc/time.c')
-rw-r--r-- | payloads/libpayload/libc/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/libc/time.c b/payloads/libpayload/libc/time.c index f8913466dc..75834486b5 100644 --- a/payloads/libpayload/libc/time.c +++ b/payloads/libpayload/libc/time.c @@ -34,7 +34,7 @@ #include <libpayload-config.h> #include <libpayload.h> -#if IS_ENABLED(CONFIG_LP_ARCH_X86) && IS_ENABLED(CONFIG_LP_NVRAM) +#if CONFIG(LP_ARCH_X86) && CONFIG(LP_NVRAM) #include <arch/rdtsc.h> #endif @@ -70,7 +70,7 @@ static void update_clock(void) } } -#if IS_ENABLED(CONFIG_LP_NVRAM) +#if CONFIG(LP_NVRAM) static unsigned int day_of_year(int mon, int day, int year) { |