aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-24 23:12:22 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-24 23:15:49 +0300
commit1d14778635f9c92ff314f48c744a44cf3853c857 (patch)
tree48aa7d7f69e7ae004c67ddb0ac5d3d4e05fa8307 /m4
parent709b3c5408a94cd66eb2ace08391d9d7eb77db18 (diff)
downloadlibmicrohttpd-1d14778635f9c92ff314f48c744a44cf3853c857.tar.gz
libmicrohttpd-1d14778635f9c92ff314f48c744a44cf3853c857.zip
Precompiler macro testing: exclude wcsnlen() test on OpenBSD as on NetBSD.
Diffstat (limited to 'm4')
-rw-r--r--m4/mhd_sys_extentions.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/mhd_sys_extentions.m4 b/m4/mhd_sys_extentions.m4
index fa5d0fda..0fff57ed 100644
--- a/m4/mhd_sys_extentions.m4
+++ b/m4/mhd_sys_extentions.m4
@@ -96,7 +96,8 @@ int main()
96 (void) strnlen; 96 (void) strnlen;
97#endif 97#endif
98 98
99#ifndef __NetBSD__ 99#if !defined(__NetBSD__) && !defined(__OpenBSD__)
100/* NetBSD and OpenBSD didn't implement wcsnlen() for some reason. */
100#ifndef wcsnlen 101#ifndef wcsnlen
101 (void) wcsnlen; 102 (void) wcsnlen;
102#endif 103#endif