On Thu, Jan 30, 2014 at 09:01:59PM +0100, Szabolcs Nagy wrote:
> * Bobby Powers <bobbypow...@gmail.com> [2014-01-30 09:38:23 -0800]:
> > On MacOS 10.9, strlcat and strncat are defined as macros, and adding
> > them to sbase breaks the builds.  I'm not sure what the easy/nice
> > solution is.  Error is below.
> 
> all standard interfaces may be also defined as macros
> so this is nothing special (eventhough strl* arent standard)
> 
> the correc way to declare anything that may appear in a
> standard header is to #undef or protect the declaration like
> 
>  #undef strlcat
>  size_t strlcat(char*,const char*,size_t);
> 
> or
> 
>  size_t (strlcat)(char*,const char*,size_t);

Great, I will try to do that.

Reply via email to