summaryrefslogtreecommitdiff
path: root/src/include/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/stddef.h')
-rw-r--r--src/include/stddef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/stddef.h b/src/include/stddef.h
index af63196697..5df7735418 100644
--- a/src/include/stddef.h
+++ b/src/include/stddef.h
@@ -37,7 +37,7 @@ typedef unsigned int wint_t;
#endif
/* Work around non-writable data segment in execute-in-place romstage on x86. */
-#if defined(__PRE_RAM__) && CONFIG_ARCH_X86
+#if defined(__PRE_RAM__) && IS_ENABLED(CONFIG_ARCH_X86)
#define MAYBE_STATIC
#else
#define MAYBE_STATIC static