From 4f7bcabca7737c3f48f07ca2b4b1296c29e3358b Mon Sep 17 00:00:00 2001 From: John Coyle Date: Thu, 8 Oct 2015 23:25:36 -0400 Subject: [PATCH] assert: __STRING is not defined by musl libc. Define __STRING when it is missing. Signed-off-by: John Coyle --- src/include/assert.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/include/assert.h b/src/include/assert.h index ec0aa34d601..707cce0b398 100644 --- a/src/include/assert.h +++ b/src/include/assert.h @@ -3,6 +3,11 @@ #if defined(__linux__) #include + +#ifndef __STRING +# define __STRING(x) #x +#endif + #elif defined(__FreeBSD__) #include #define __GNUC_PREREQ(minor, major) __GNUC_PREREQ__(minor, major) -- 2.47.3