applied vimbrowse patch
[st.git] / st.h
diff --git a/st.h b/st.h
index 3d351b6..b79ac2f 100644 (file)
--- a/st.h
+++ b/st.h
@@ -8,6 +8,7 @@
 #define MAX(a, b)              ((a) < (b) ? (b) : (a))
 #define LEN(a)                 (sizeof(a) / sizeof(a)[0])
 #define BETWEEN(x, a, b)       ((a) <= (x) && (x) <= (b))
+#define OUT(x, a, b)           ((a) <= (x) || (x) <= (b))
 #define DIVCEIL(n, d)          (((n) + ((d) - 1)) / (d))
 #define DEFAULT(a, b)          (a) = (a) ? (a) : (b)
 #define LIMIT(x, a, b)         (x) = (x) < (a) ? (a) : (x) > (b) ? (b) : (x)