chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
003ece7
)
shared/musl_missing.h: replace ifdef HAVE_UTMP with if ENABLE_UTMP
author
maxice8
<thinkabit.ukim@gmail.com>
Tue, 16 Jan 2018 10:23:17 +0000
(08:23 -0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 24 Jan 2018 12:22:41 +0000
(13:22 +0100)
now meson defines if the feature is enabled or not, check if the
feature is enabled
src/shared/musl_missing.h
patch
|
blob
|
history
diff --git
a/src/shared/musl_missing.h
b/src/shared/musl_missing.h
index 6a6f1e037e78c3646f768650fbe03c617cac1b17..7f3ffafaff88f4f478017da7308065577391fcda 100644
(file)
--- 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. */
-#if
def HAV
E_UTMP
+#if
ENABL
E_UTMP
# include <paths.h>
# include <utmp.h>
# include <utmpx.h>
@@
-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 //
HAV
E_UTMP
+#endif //
ENABL
E_UTMP
#endif // !defined(__GLIBC__)