libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 1d14778635f9c92ff314f48c744a44cf3853c857
parent 709b3c5408a94cd66eb2ace08391d9d7eb77db18
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu, 24 Nov 2016 23:12:22 +0300

Precompiler macro testing: exclude wcsnlen() test on OpenBSD as on NetBSD.

Diffstat:
Mm4/mhd_sys_extentions.m4 | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/m4/mhd_sys_extentions.m4 b/m4/mhd_sys_extentions.m4 @@ -96,7 +96,8 @@ int main() (void) strnlen; #endif -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__OpenBSD__) +/* NetBSD and OpenBSD didn't implement wcsnlen() for some reason. */ #ifndef wcsnlen (void) wcsnlen; #endif