]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
NVMEDevice: nvme.h use _Static_assert which from c11
authorHaomai Wang <haomai@xsky.com>
Mon, 4 Jan 2016 16:20:08 +0000 (00:20 +0800)
committerHaomai Wang <haomai@xsky.com>
Mon, 1 Feb 2016 14:00:43 +0000 (22:00 +0800)
Signed-off-by: Haomai Wang <haomai@xsky.com>
src/os/bluestore/NVMEDevice.h

index 5a28272f89ed5fdfbf230937332642da67191c77..136e6b74ca9ae90012861a902a7f85bde5d96b3f 100644 (file)
@@ -19,6 +19,8 @@
 
 #include <pciaccess.h>
 
+// since _Static_assert introduced in c11
+#define _Static_assert static_assert
 #include "spdk/nvme.h"
 
 #include "BlockDevice.h"