From: maxice8 Date: Tue, 16 Jan 2018 10:23:17 +0000 (-0200) Subject: shared/musl_missing.h: replace ifdef HAVE_UTMP with if ENABLE_UTMP X-Git-Tag: v235.3~21 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=80e6b5cf89054ee5d5676bc75514926698d61e73;p=elogind.git shared/musl_missing.h: replace ifdef HAVE_UTMP with if ENABLE_UTMP now meson defines if the feature is enabled or not, check if the feature is enabled --- diff --git a/src/shared/musl_missing.h b/src/shared/musl_missing.h index 6a6f1e037..7f3ffafaf 100644 --- a/src/shared/musl_missing.h +++ b/src/shared/musl_missing.h @@ -86,7 +86,7 @@ typedef __compar_fn_t comparison_fn_t; #endif /* Make musl utmp/wtmp stubs visible if needed. */ -#ifdef HAVE_UTMP +#if ENABLE_UTMP # include # include # include @@ -96,7 +96,7 @@ typedef __compar_fn_t comparison_fn_t; # if defined(_PATH_WTMP) && !defined(_PATH_WTMPX) # define _PATH_WTMPX _PATH_WTMP # endif -#endif // HAVE_UTMP +#endif // ENABLE_UTMP #endif // !defined(__GLIBC__)