aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/defines.hpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-03-16 20:50:55 +0100
committervaxerski <[email protected]>2022-03-16 20:50:55 +0100
commitde4c836e97a5798a09bcf96fbdf4cbaf29b0dc5e (patch)
treeced2f8201e49f65e2ceecac015ecc3f7f8f9e10a /src/defines.hpp
parentf9862eed939c748842c0e9369880848b654f3d5f (diff)
downloadHyprland-de4c836e97a5798a09bcf96fbdf4cbaf29b0dc5e.tar.gz
Hyprland-de4c836e97a5798a09bcf96fbdf4cbaf29b0dc5e.zip
Initial Commit
Diffstat (limited to 'src/defines.hpp')
-rw-r--r--src/defines.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/defines.hpp b/src/defines.hpp
new file mode 100644
index 00000000..f72dbb18
--- /dev/null
+++ b/src/defines.hpp
@@ -0,0 +1,9 @@
+#include "includes.hpp"
+
+#ifndef NDEBUG
+#define ISDEBUG true
+#else
+#define ISDEBUG false
+#endif
+
+#define RIP(format, ... ) { fprintf(stderr, format "\n", ##__VA_ARGS__); exit(EXIT_FAILURE); } \ No newline at end of file