--- lbbs/include/str_process.h 2025/11/04 13:49:50 1.13 +++ lbbs/include/str_process.h 2025/11/05 04:19:21 1.15 @@ -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,10 @@ #include -#define MAX_SPLIT_FILE_LINES 65536 +enum str_process_constant_t +{ + MAX_SPLIT_FILE_LINES = 65536, +}; extern int str_length(const char *str, int skip_ctrl_seq);