summaryrefslogtreecommitdiffhomepage
path: root/auto/unix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xauto/unix6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/unix b/auto/unix
index 3aa188303..d6fc3730e 100755
--- a/auto/unix
+++ b/auto/unix
@@ -98,6 +98,12 @@ ngx_func_test="char buf[20]; int n; n = strerror_r(1, buf, 20)"
. auto/func
+ngx_func="gnu_strerror_r()"
+ngx_func_inc="#include <string.h>"
+ngx_func_test="char buf[20], *str; str = strerror_r(1, buf, 20)"
+. auto/func
+
+
ngx_func="localtime_r()"
ngx_func_inc="#include <time.h>"
ngx_func_test="struct tm t; time_t c=0; localtime_r(&c, &t)"