From: Haomai Wang Date: Mon, 4 Jan 2016 16:20:08 +0000 (+0800) Subject: NVMEDevice: nvme.h use _Static_assert which from c11 X-Git-Tag: v10.0.4~81^2~41 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bb1adcf406f5c9c5ea1ab4766fa9c258927dccc8;p=ceph.git NVMEDevice: nvme.h use _Static_assert which from c11 Signed-off-by: Haomai Wang --- diff --git a/src/os/bluestore/NVMEDevice.h b/src/os/bluestore/NVMEDevice.h index 5a28272f89ed..136e6b74ca9a 100644 --- a/src/os/bluestore/NVMEDevice.h +++ b/src/os/bluestore/NVMEDevice.h @@ -19,6 +19,8 @@ #include +// since _Static_assert introduced in c11 +#define _Static_assert static_assert #include "spdk/nvme.h" #include "BlockDevice.h"