From bb1adcf406f5c9c5ea1ab4766fa9c258927dccc8 Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Tue, 5 Jan 2016 00:20:08 +0800 Subject: [PATCH] NVMEDevice: nvme.h use _Static_assert which from c11 Signed-off-by: Haomai Wang --- src/os/bluestore/NVMEDevice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/os/bluestore/NVMEDevice.h b/src/os/bluestore/NVMEDevice.h index 5a28272f89e..136e6b74ca9 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" -- 2.47.3