mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-09 21:20:48 +00:00
log: fail build on ENFORCE_THREAD_SAFETY error
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
81c76cff14
commit
d6457631f0
@ -353,6 +353,8 @@ ATTR_UNUSED static inline void LXC_##LEVEL(struct lxc_log_locinfo* locinfo, \
|
|||||||
(void)strerror_r(errno, errno_buf, sizeof(errno_buf)); \
|
(void)strerror_r(errno, errno_buf, sizeof(errno_buf)); \
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#elif ENFORCE_THREAD_SAFETY
|
||||||
|
#error ENFORCE_THREAD_SAFETY was set but cannot be guaranteed
|
||||||
#else
|
#else
|
||||||
#define lxc_log_strerror_r \
|
#define lxc_log_strerror_r \
|
||||||
char *ptr = NULL; \
|
char *ptr = NULL; \
|
||||||
|
Loading…
Reference in New Issue
Block a user