]> git.proxmox.com Git - mirror_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)
committerFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 14 Jul 2022 10:33:17 +0000 (12:33 +0200)
commit8ee8879083f40d2d0b9cef46d6a6907c1b5a814b
tree46c316f0f040b2de6496f1b56698ec41af7d035f
parentb96e9ae47aff9a722e1e900851a389b4dd0b4222
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