diff --git a/libs/libc/misc/lib_utsname.c b/libs/libc/misc/lib_utsname.c index 8910c7a69218e..1cff2d03ffba2 100644 --- a/libs/libc/misc/lib_utsname.c +++ b/libs/libc/misc/lib_utsname.c @@ -51,7 +51,7 @@ * Private Data ****************************************************************************/ -#if defined(__DATE__) && defined(__TIME__) \ +#if defined(__DATE__) && defined(__TIME__) && \ !defined(CONFIG_LIBC_UNAME_DISABLE_TIMESTAMP) \ static char g_version[] = CONFIG_VERSION_BUILD " " __DATE__ " " __TIME__; #else