mqueue: fix compilation error when CONFIG_DISABLE_MQUEUE=y
authorEunBong Song <eunb.song@samsung.com>
Mon, 13 Mar 2017 02:06:14 +0000 (11:06 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 09:58:43 +0000 (18:58 +0900)
commit9a9aea2aaa95c6600b296d879967a1af3983d696
tree600aded114e4da9069c783412d070b13351444c9
parent2df502d10e86f1af21e53a29f64a39f2a087a243
mqueue: fix compilation error when CONFIG_DISABLE_MQUEUE=y

This patch fixes compilation error when CONFIG_DISABLE_MQUEUE is
enabled.

    In file included from group/group_leave.c:71:0:
    ./mqueue/mqueue.h:73:5: error: "CONFIG_MQ_MAXMSGSIZE" is not defined [-Werror=undef]
     #if CONFIG_MQ_MAXMSGSIZE > 0
         ^
    cc1: all warnings being treated as errors

Change-Id: I351fef2a2b4cf46caa54871c7170cf89bddc5abe
Signed-off-by: EunBong Song <eunb.song@samsung.com>
os/kernel/mqueue/mqueue.h