summaryrefslogtreecommitdiff
path: root/i3status.h
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2009-10-24 00:38:26 +0200
committerMichael Stapelberg <michael@stapelberg.de>2009-10-24 00:38:26 +0200
commite0c241cc10ec684158d169fece45b7116dc8c003 (patch)
tree2a010ec7b87a1a974e132c9bd43d4b5c2578c03e /i3status.h
parente4bd4bd2a39515178ada751764dfd81e743784f9 (diff)
Add error message if neither DZEN nor XMOBAR is defined
Diffstat (limited to 'i3status.h')
-rw-r--r--i3status.h4
1 files changed, 4 insertions, 0 deletions
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 <stdbool.h>
#include <confuse.h>