Skip to content

Commit

Permalink
kconfig: fix compilation on default config
Browse files Browse the repository at this point in the history
  • Loading branch information
moodyhunter committed Jul 3, 2024
1 parent 18ad783 commit 31835a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/include/private/mos/syslog/printk_prefix.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
#define _lprintk_threadid_arg
#endif

#if MOS_CONFIG(MOS_PRINTK_HAS_SOME_PREFIX)
// don't use MOS_CONFIG(MOS_PRINTK_HAS_SOME_PREFIX) here as it may not be defined
#if MOS_PRINTK_HAS_SOME_PREFIX
#define __add_comma(...) __VA_OPT__(, (__VA_ARGS__))
// clang-format off
#define _lprintk_prefix_fmt \
Expand Down

0 comments on commit 31835a2

Please sign in to comment.