Check for messages disabled

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1162 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-11-07 20:54:27 +00:00
parent aec4241258
commit 1ca53e706a

View File

@ -47,6 +47,8 @@
#include <signal.h> #include <signal.h>
#include <nuttx/compiler.h> #include <nuttx/compiler.h>
#if CONFIG_MQ_MAXMSGSIZE > 0
/**************************************************************************** /****************************************************************************
* Compilations Switches * Compilations Switches
****************************************************************************/ ****************************************************************************/
@ -210,5 +212,6 @@ EXTERN int mq_dosend(mqd_t mqdes, FAR mqmsg_t *mqmsg, const void *msg,
} }
#endif #endif
#endif /* CONFIG_MQ_MAXMSGSIZE > 0 */
#endif /* __MQ_INTERNAL_H */ #endif /* __MQ_INTERNAL_H */