greenhills: fix the macro undefined warning

CC:  mount/fs_foreachmountpoint.c "/home/guoshichao/work_profile/vela_os/vela_car_6/nuttx/include/nuttx/mqueue.h", line 40: warning #193-D:
          zero used for undefined preprocessing identifier
          "CONFIG_MQ_MAXMSGSIZE"
  #if CONFIG_MQ_MAXMSGSIZE > 0
      ^

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
guoshichao 2024-08-01 21:37:39 +08:00 committed by Xiang Xiao
parent cc79201c59
commit e5835d6ce8
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
#include <mqueue.h>
#include <poll.h>
#if CONFIG_MQ_MAXMSGSIZE > 0
#if defined(CONFIG_MQ_MAXMSGSIZE) && (CONFIG_MQ_MAXMSGSIZE > 0)
/****************************************************************************
* Pre-processor Definitions