diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-10-20 17:59:05 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-10-20 17:59:05 +0000 |
| commit | 174f8870c75df87e4603455d8025676259fde108 (patch) | |
| tree | b16e284de14bf4d368b7c2150cf275317a891db1 /macros.h | |
| parent | Merge branch 'warn-not-to-use-single-letter-key-bindings-in-url-mode' (diff) | |
| parent | osc: use STRLEN() macro to make parse_rgb() more self-documenting (diff) | |
Merge branch 'parse-rgb-strlen'
Diffstat (limited to 'macros.h')
| -rw-r--r-- | macros.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2,6 +2,7 @@ #define PASTE(a, b) a##b #define XPASTE(a, b) PASTE(a, b) +#define STRLEN(str) (sizeof("" str "") - 1) #define DO_PRAGMA(x) _Pragma(#x) #define VERCMP(x, y, cx, cy) ((cx > x) || ((cx == x) && (cy >= y))) |
