From e0c241cc10ec684158d169fece45b7116dc8c003 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 24 Oct 2009 00:38:26 +0200 Subject: [PATCH] Add error message if neither DZEN nor XMOBAR is defined --- i3status.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/i3status.h b/i3status.h index 1926021..0a42555 100644 --- a/i3status.h +++ b/i3status.h @@ -1,6 +1,10 @@ #ifndef _I3STATUS_H #define _I3STATUS_H +#if !defined(DZEN) && !defined(XMOBAR) + #error "You have to enable either -DDZEN or -DXMOBAR" +#endif + #include #include -- 2.39.5