From 7a774adbc3a3eedfa05facf72fb4b1973bcca8b6 Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Fri, 31 Jan 2020 23:15:34 +0000 Subject: [PATCH] thermosphere: libc: fix missing macro --- thermosphere/src/my_libc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/thermosphere/src/my_libc.c b/thermosphere/src/my_libc.c index 24e3a1b3e..a6f0a2077 100644 --- a/thermosphere/src/my_libc.c +++ b/thermosphere/src/my_libc.c @@ -730,6 +730,11 @@ QUICKREF /*SUPPRESS 560*/ /*SUPPRESS 530*/ +/* Nonzero if X is aligned on a "long" boundary. */ +#define ALIGNED(X) \ + (((long)X & (sizeof (long) - 1)) == 0) + + char * strcat (char *s1, const char *s2) {