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 5b4d0adb0d27b99f9a72a173c1e4a1fba86dfcb0 Author: Johan Bergström <[email protected]> AuthorDate: Tue Nov 7 11:38:49 2017 -0300 lib/ts/ts_error.h: define throw Some platforms lacks __THROW (musl); since glibc does equal effort, lets just define it if it isn't. --- lib/ts/ink_error.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ts/ink_error.h b/lib/ts/ink_error.h index 34309f9..d695d52 100644 --- a/lib/ts/ink_error.h +++ b/lib/ts/ink_error.h @@ -36,6 +36,11 @@ #include "ts/ink_platform.h" #include "ts/ink_apidefs.h" +// throw isn't available in every libc (musl, ..) +#ifndef __THROW +#define __THROW +#endif + // This magic exit code is used to signal that the crashing process cannot // be recovered from a restart of said process // -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
