From 85db2ec615cab3a840e676f9d861ce09854a3858 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 27 May 2020 16:24:46 +0100 Subject: [PATCH] elput - fix #else path for minor --- src/lib/elput/elput_logind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c index 02e5351..09aeece 100644 --- a/src/lib/elput/elput_logind.c +++ b/src/lib/elput/elput_logind.c @@ -11,7 +11,7 @@ # ifdef minor # define MINOR(x) minor(x) # else -# define MAJOR(x) (((x) & 0xff) | (((x) >> 12) & ~0xff)) +# define MINOR(x) (((x) & 0xff) | (((x) >> 12) & ~0xff)) # endif static Eina_Module *_libsystemd = NULL; -- 2.7.4