diff options
| author | Benjamin Linskey | 2026-06-11 05:35:24 -0400 |
|---|---|---|
| committer | Benjamin Linskey | 2026-06-11 05:36:22 -0400 |
| commit | 6bc476786626f214c9bca89f3114792d03bb16fd (patch) | |
| tree | 2cb0f97ea255eb275ba5d1208a8ef550aa815d6c | |
| parent | 240de88e5c0762a37d871b78d81ffce3f29f8937 (diff) | |
| download | rogue-6bc476786626f214c9bca89f3114792d03bb16fd.tar.gz | |
Define __printflike if needed
Added a macro copied from tmux.h in OpenBSD’s tmux source code.
| -rw-r--r-- | rogue.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -45,6 +45,11 @@ * gain or profit. */ +#ifndef __printflike +#define __printflike(a, b) __attribute__ ((format (printf, a, b))) +#endif + + #define boolean char #define NOTHING ((unsigned short) 0) |