#include "memory_utils.h"
#include "process_utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
* Helper macro to define errno string.
*/
#if HAVE_STRERROR_R
- #ifndef HAVE_DECL_STRERROR_R
+ #if !HAVE_DECL_STRERROR_R
#ifdef STRERROR_R_CHAR_P
char *strerror_r(int errnum, char *buf, size_t buflen);
#else
delete_handler(handler);
}
-#ifndef HAVE_LIBURING
+#if !HAVE_LIBURING
static inline int __lxc_mainloop_io_uring(struct lxc_async_descr *descr,
int timeout_ms)
{
}
if (descr->type == LXC_MAINLOOP_IO_URING) {
-#ifdef HAVE_LIBURING
+#if HAVE_LIBURING
io_uring_queue_exit(descr->ring);
munmap(descr->ring, sizeof(struct io_uring));
#else
#include "state.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "syscall_wrappers.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include <security/_pam_macros.h>
#include <security/pam_modules.h>
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
-#ifndef HAVE_STRLCAT
+#if !HAVE_STRLCAT
#include "strlcat.h"
#endif
#include "storage.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
-#ifndef HAVE_STRLCAT
+#if !HAVE_STRLCAT
#include "strlcat.h"
#endif
#include "syscall_wrappers.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "storage_utils.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "utils.h"
#include "zfs.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "syscall_wrappers.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "config.h"
-#ifndef HAVE_STRCHRNUL
+#if !HAVE_STRCHRNUL
#include "strchrnul.h"
#endif
#include "storage_utils.h"
#include "utils.h"
-#ifndef HAVE_GETSUBOPT
+#if !HAVE_GETSUBOPT
#include "include/getsubopt.h"
#endif
#include "lxctest.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "../lxc/lxc.h"
#include "../lxc/memory_utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include <lxc/lxccontainer.h>
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "lxctest.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "memory_utils.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "lxctest.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif
#include "lxctest.h"
#include "utils.h"
-#ifndef HAVE_STRLCPY
+#if !HAVE_STRLCPY
#include "strlcpy.h"
#endif