diff options
author | Vicent Marti <vicent@github.com> | 2014-04-29 05:02:38 -0700 |
---|---|---|
committer | Vicent Marti <vicent@github.com> | 2014-04-29 05:02:38 -0700 |
commit | 892778ee84e741f111b103570854ff37b110f74d (patch) | |
tree | 24931babeb0550963bd5f181c53a7b3a2dfb911e | |
parent | 041336e6bd9dbd22db29f2294e5db8645efdd46b (diff) | |
parent | 36a6151833de6b911e4169b468967aabfedd59e2 (diff) | |
download | libgit2-892778ee84e741f111b103570854ff37b110f74d.tar.gz |
Merge pull request #2309 from jacquesg/midnightbsd
MidnightBSD may also not have strnlen
-rw-r--r-- | src/strnlen.h | 2 |
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 |