blackducksw/ohcount — pull request #7 by ehsan (2011-10-09 21:08:03+00:00)
Title: Enable building on Mac, which lacks the strnlen function by using memchr instead of it

This patch defines a simple mystrnlen function based on memchr. With this, ohcount can be built on OS X.