If msg size==0, disable POSIX msg queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2380 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
3fd4a25d01
commit
18dbbfbe39
|
@ -288,6 +288,12 @@ int main(int argc, char **argv, char **envp)
|
|||
printf("# undef CONFIG_STDIO_BUFFER_SIZE\n");
|
||||
printf("# define CONFIG_STDIO_BUFFER_SIZE 0\n");
|
||||
printf("#endif\n\n");
|
||||
printf("/* If the maximum message size is zero, then we assume that message queues\n");
|
||||
printf(" * support should be disabled\n");
|
||||
printf(" */\n\n");
|
||||
printf("#if CONFIG_MQ_MAXMSGSIZE <= 0 && !defined(CONFIG_DISABLE_MQUEUE)\n");
|
||||
printf("# define CONFIG_DISABLE_MQUEUE 1\n");
|
||||
printf("#endif\n\n");
|
||||
printf("/* If mountpoint support in not included, then no filesystem can be supported */\n\n");
|
||||
printf("#ifdef CONFIG_DISABLE_MOUNTPOINT\n");
|
||||
printf("# undef CONFIG_FS_FAT\n");
|
||||
|
|
Loading…
Reference in New Issue