summaryrefslogtreecommitdiff
path: root/src/strnlen.h
Commit message (Collapse)AuthorAgeFilesLines
* strnlen() is only available from Visual Studio 2005+Jacques Germishuys2014-07-061-1/+2
|
* MidnightBSD may also not have strnlenJacques Germishuys2014-04-291-1/+1
|
* Split p_strlen into its own headerCarlos Martín Nieto2014-02-051-0/+23
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.