Fix build warning in mkconfig
@@ -191,7 +191,7 @@ int main(int argc, char **argv, char **envp)
printf(" * of the partition where filesystem is mounted.\n");
printf(" * If the size of partition is less then this threshold, journaling is automatically disabled\n");
printf(" */\n\n");
- printf("#if CONFIG_SMARTFS_NLOGGING_SECTORS > 0\n");
+ printf("#if defined(CONFIG_SMARTFS_NLOGGING_SECTORS) && CONFIG_SMARTFS_NLOGGING_SECTORS > 0\n");
printf("# define CONFIG_SMARTFS_JOURNALING_THRESHOLD (CONFIG_SMARTFS_NLOGGING_SECTORS * 4)\n");
printf("#endif\n\n");
printf("/* There must be at least one memory region. */\n\n");
