aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-10-13 14:59:17 -0400
committerNick Mathewson <nickm@torproject.org>2014-10-13 14:59:17 -0400
commit21fe945ebd7183685bf5bbcd80bf6b1b946eb841 (patch)
tree0555b8b10ba62b7329e17e3431618058b8d5b9a6 /configure.ac
parentd950e243328eaac40515b4b16ac328f6748c7a3f (diff)
downloadtor-21fe945ebd7183685bf5bbcd80bf6b1b946eb841.tar.gz
tor-21fe945ebd7183685bf5bbcd80bf6b1b946eb841.zip
Define a strnlen replacement on platforms (win32) that lack it
Right now this is only needed for test_util_format_time_interval, so define it as a static function. We can move it into compat later if we need to.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c0523e1082..4c7da5d76a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -365,6 +365,7 @@ AC_CHECK_FUNCS(
socketpair \
strlcat \
strlcpy \
+ strnlen \
strptime \
strtok_r \
strtoull \