From aa99d916095ba0468796af9b7aba60c3e9347de2 Mon Sep 17 00:00:00 2001 From: cannoli-fruit Date: Mon, 13 Jul 2026 01:48:36 -0400 Subject: [PATCH] Guard slice definition --- lazy.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lazy.h b/lazy.h index b877efe..9970897 100644 --- a/lazy.h +++ b/lazy.h @@ -12,10 +12,13 @@ #define LZ_STR_PRINTF(slc) (int)slc.cnt, slc.data #endif +#ifndef LZ_SLC_DEF +#define LZ_SLC_DEF typedef struct { char *data; size_t cnt; } Lz_Slc; +#endif void lz_trim_left_typ(Lz_Slc *src, int (*classfunc)(int)); void lz_trim_right_typ(Lz_Slc *src, int (*classfunc)(int));