From: Michael Stapelberg Date: Fri, 23 Oct 2009 22:38:26 +0000 (+0200) Subject: Add error message if neither DZEN nor XMOBAR is defined X-Git-Tag: 2.0~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0c241cc10ec684158d169fece45b7116dc8c003;p=i3%2Fi3status Add error message if neither DZEN nor XMOBAR is defined --- 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