[lxc/lxc] 8ee887: src/lxc/log.h: fix STRERROR_R_CHAR_P

0 views
Skip to first unread message

Christian Brauner

unread,
Jul 14, 2022, 10:41:11 AM7/14/22
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 8ee8879083f40d2d0b9cef46d6a6907c1b5a814b
https://github.com/lxc/lxc/commit/8ee8879083f40d2d0b9cef46d6a6907c1b5a814b
Author: Fabrice Fontaine <fontaine...@gmail.com>
Date: 2022-07-14 (Thu, 14 Jul 2022)

Changed paths:
M src/lxc/log.h

Log Message:
-----------
src/lxc/log.h: fix STRERROR_R_CHAR_P

STRERROR_R_CHAR_P is always defined to 0 or 1 depending on the value of
have_func_strerror_r_char_p in meson.build so replace #ifdef by #if to
avoid a redefinition build failure if char *strerror_r is not defined

Signed-off-by: Fabrice Fontaine <fontaine...@gmail.com>


Commit: 4ef148de7a1898450613709aa16e1dd5f6be7f31
https://github.com/lxc/lxc/commit/4ef148de7a1898450613709aa16e1dd5f6be7f31
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2022-07-14 (Thu, 14 Jul 2022)

Changed paths:
M src/lxc/log.h

Log Message:
-----------
Merge pull request #4166 from ffontaine/master

src/lxc/log.h: fix STRERROR_R_CHAR_P


Compare: https://github.com/lxc/lxc/compare/b96e9ae47aff...4ef148de7a18
Reply all
Reply to author
Forward
0 new messages