diff options
Diffstat (limited to 'libudev/libudev-private.h')
-rw-r--r-- | libudev/libudev-private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h index 9770e8b63c..5c10b4e37a 100644 --- a/libudev/libudev-private.h +++ b/libudev/libudev-private.h @@ -29,8 +29,8 @@ udev_log_null(struct udev *udev, const char *format, ...) {} udev_log(udev, LOG_ERR, __FILE__, __LINE__, __FUNCTION__, ## arg); \ } while (0) -#ifdef USE_LOG -# ifdef DEBUG +#ifdef ENABLE_LOGGING +# ifdef ENABLE_DEBUG # define dbg(udev, arg...) udev_log_cond(udev, LOG_DEBUG, ## arg) # else # define dbg(udev, arg...) udev_log_null(udev, ## arg) @@ -219,7 +219,7 @@ int util_resolve_subsys_kernel(struct udev *udev, const char *string, char *result, size_t maxsize, int read_value); /* libudev-selinux-private.c */ -#ifndef USE_SELINUX +#ifndef WITH_SELINUX static inline void udev_selinux_init(struct udev *udev) {} static inline void udev_selinux_exit(struct udev *udev) {} static inline void udev_selinux_lsetfilecon(struct udev *udev, const char *file, unsigned int mode) {} |