Skip to content
Snippets Groups Projects
Commit 18dbbfbe authored by patacongo's avatar patacongo
Browse files

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
parent 3fd4a25d
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment