From: John Coyle Date: Fri, 9 Oct 2015 03:25:36 +0000 (-0400) Subject: assert: __STRING is not defined by musl libc. Define __STRING when it is missing. X-Git-Tag: v10.0.0~65^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4f7bcabca7737c3f48f07ca2b4b1296c29e3358b;p=ceph.git assert: __STRING is not defined by musl libc. Define __STRING when it is missing. Signed-off-by: John Coyle --- diff --git a/src/include/assert.h b/src/include/assert.h index ec0aa34d601f..707cce0b3980 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)