/
githubmirror
/
rdma-core
Обзор
Документация
Войти
/
githubmirror
/
rdma-core
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
buildlib/sparse-include/35/sys-socket.h.diff
11 строк
533 B
Jason Gunthorpe
sparse: Update diffs to support glibc 35
29 ноя 2022, 23:21
29 ноя 2022, 23:21
ef88673
Код
Авторство
О чём код?
--- /usr/include/x86_64-linux-gnu/sys/socket.h 2022-07-06 23:23:23.000000000 +0000 +++ include/sys/socket.h 2022-11-25 17:37:07.463320432 +0000 @@ -54,7 +54,7 @@ uses with any of the listed types to be allowed without complaint. G++ 2.7 does not support transparent unions so there we want the old-style declaration, too. */ -#if defined __cplusplus || !__GNUC_PREREQ (2, 7) || !defined __USE_GNU +#if 1 # define __SOCKADDR_ARG struct sockaddr *__restrict # define __CONST_SOCKADDR_ARG const struct sockaddr * #else