src/strnlen.h


Log

Author Commit Date CI Message
Jacques Germishuys b8365f21 2014-07-05T21:24:26 strnlen() is only available from Visual Studio 2005+
Jacques Germishuys 36a61518 2014-04-29T13:28:16 MidnightBSD may also not have strnlen
Carlos Martín Nieto 24f3024f 2014-02-05T14:31:01 Split p_strlen into its own header We need this from util.h and posix.h, but the latter includes common.h which includes util.h, which means p_strlen is not defined by the time we get to git__strndup(). Split the definition on p_strlen() off into its own header so we can use it in util.h.