/
githubmirror
/
rdma-core
Обзор
Документация
Войти
/
githubmirror
/
rdma-core
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
buildlib/fixup-include/assert.h
10 строк
219 B
Jason Gunthorpe
Allow static_assert to be used
14 мар 2018, 00:36
14 мар 2018, 00:36
a4b3923
Код
Авторство
О чём код?
#ifndef _FIXUP_ASSERT_H #define _FIXUP_ASSERT_H #include_next <assert.h> /* Without C11 compiler support it is not possible to implement static_assert */ #undef static_assert #define static_assert(_cond, msg) #endif