]> git.ipfire.org Git - thirdparty/lxc.git/commit
src/lxc/log.h: fix STRERROR_R_CHAR_P
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 14 Jul 2022 10:31:21 +0000 (12:31 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 25 Jul 2022 22:12:41 +0000 (18:12 -0400)
commitc2ee9b440c92ad2367898c009b8eac30d9a37770
treed83eea51572422ab4bfcc373735afd2c4e3af61c
parentd441ee58519c93782044cd174f937f7db80d3aab
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.fabrice@gmail.com>
src/lxc/log.h