mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-05 19:50:39 +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)); \
|
||||
}
|
||||
#endif
|
||||
#elif ENFORCE_THREAD_SAFETY
|
||||
#error ENFORCE_THREAD_SAFETY was set but cannot be guaranteed
|
||||
#else
|
||||
#define lxc_log_strerror_r \
|
||||
char *ptr = NULL; \
|
||||
|
Loading…
Reference in New Issue
Block a user