From 913a49e2fb596fc13c6cc39ce35fb4039bcc5032 Mon Sep 17 00:00:00 2001 From: cannoli-fruit Date: Mon, 13 Jul 2026 01:50:50 -0400 Subject: [PATCH] Guard string builder struct --- lazy.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lazy.h b/lazy.h index 9970897..b12509d 100644 --- a/lazy.h +++ b/lazy.h @@ -124,7 +124,10 @@ char *lz_cstr_dup(const char *s); for (T *name = (da).data; name-(da).data < (da).cnt; ++name) #endif +#ifndef LZ_SB_DEFINITION +#define LZ_SB_DEFINITION typedef Lz_DA(char) Lz_SB; +#endif #ifndef Lz_HM #define Lz_HM(K_t, V_t) struct {\