X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fstkstring.h;h=6ce9b6675b5aa1a8a8d6fbc3020893e578785a37;hb=77c84c65dc22afe21bc52d95cd3996b8e1c7d065;hp=d96b72386adc703040e8db3e0e73b7f1b3882f46;hpb=733046c9a1a6ccc33617d73238c3c8f4865b34a4;p=libucw.git diff --git a/ucw/stkstring.h b/ucw/stkstring.h index d96b7238..6ce9b667 100644 --- a/ucw/stkstring.h +++ b/ucw/stkstring.h @@ -15,9 +15,15 @@ #include #include #include +#include -#ifdef CONFIG_DARWIN -uns strnlen(const char *str, uns n); +#ifdef CONFIG_UCW_CLEAN_ABI +#define stk_array_join ucw_stk_array_join +#define stk_array_len ucw_stk_array_len +#define stk_fsize_internal ucw_stk_fsize_internal +#define stk_hexdump_internal ucw_stk_hexdump_internal +#define stk_printf_internal ucw_stk_printf_internal +#define stk_vprintf_internal ucw_stk_vprintf_internal #endif #define stk_strdup(s) ({ const char *_s=(s); uns _l=strlen(_s)+1; char *_x=alloca(_l); memcpy(_x, _s, _l); _x; })