--- lbbs/include/str_process.h 2025/11/04 13:49:50 1.13 +++ lbbs/include/str_process.h 2025/11/08 08:21:31 1.16 @@ -3,7 +3,7 @@ * str_process * - common string processing features with UTF-8 support * - * Copyright (C) 2004-2025 by Leaflet + * Copyright (C) 2004-2025 Leaflet */ #ifndef _STR_PROCESS_H_ @@ -11,7 +11,12 @@ #include -#define MAX_SPLIT_FILE_LINES 65536 +enum str_process_constant_t +{ + MAX_SPLIT_FILE_LINES = 65536, +}; + +extern int UTF8_fixed_width; extern int str_length(const char *str, int skip_ctrl_seq);