summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-04-29 13:28:16 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-04-29 13:28:16 +0200
commit36a6151833de6b911e4169b468967aabfedd59e2 (patch)
tree24931babeb0550963bd5f181c53a7b3a2dfb911e
parent041336e6bd9dbd22db29f2294e5db8645efdd46b (diff)
downloadlibgit2-36a6151833de6b911e4169b468967aabfedd59e2.tar.gz
MidnightBSD may also not have strnlen
-rw-r--r--src/strnlen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strnlen.h b/src/strnlen.h
index 007da2e55..fdd7fe39c 100644
--- a/src/strnlen.h
+++ b/src/strnlen.h
@@ -7,7 +7,7 @@
#ifndef INCLUDE_strlen_h__
#define INCLUDE_strlen_h__
-#if defined(__MINGW32__) || defined(__sun) || defined(__APPLE__)
+#if defined(__MINGW32__) || defined(__sun) || defined(__APPLE__) || defined(__MidnightBSD__)
# define NO_STRNLEN
#endif