This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 446a4236b56a32af08712f3de45e69f5d8865e96 Author: Johan Bergström <[email protected]> AuthorDate: Tue Nov 7 11:50:55 2017 -0300 lib/ts/ink_sys_control: work around a glibc'ism `__rlimit_resource` only lives in GLIBC, so make the ifdef tighter. Fixes: https://github.com/apache/trafficserver/issues/2760 --- lib/ts/ink_sys_control.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ts/ink_sys_control.cc b/lib/ts/ink_sys_control.cc index 0ee26c0..31677a9 100644 --- a/lib/ts/ink_sys_control.cc +++ b/lib/ts/ink_sys_control.cc @@ -32,7 +32,7 @@ ink_max_out_rlimit(int which, bool max_it, bool unlim_it) { struct rlimit rl; -#if defined(linux) +#if defined(__GLIBC__) #define MAGIC_CAST(x) (enum __rlimit_resource)(x) #else #define MAGIC_CAST(x) x -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
