mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
fs/fat: Don't warn about the CONFIG_FAT_MAXFNAME being too large if long file name support is not implemented.
This commit is contained in:
+3
-1
@@ -230,7 +230,9 @@
|
||||
/* Sizes and limits */
|
||||
|
||||
# if CONFIG_FAT_MAXFNAME > CONFIG_NAME_MAX
|
||||
# warning CONFIG_FAT_MAXFNAME may not exceed NAME_MAX (CONFIG_NAME_MAX)
|
||||
# ifdef CONFIG_FAT_LFN
|
||||
# warning CONFIG_FAT_MAXFNAME may not exceed NAME_MAX (CONFIG_NAME_MAX)
|
||||
# endif
|
||||
# undef CONFIG_FAT_MAXFNAME
|
||||
# define CONFIG_FAT_MAXFNAME CONFIG_NAME_MAX
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user