From: Detlef Riekenberg Date: Fri, 29 Nov 2024 21:59:52 +0000 (+0100) Subject: zbuild: Provide a fallback for "ALIGNED_(x)" for other compiler X-Git-Tag: 2.2.3~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4e7c34a4ac171ba878eec86bdd2a58c1d03f8e5;p=thirdparty%2Fzlib-ng.git zbuild: Provide a fallback for "ALIGNED_(x)" for other compiler --- diff --git a/zbuild.h b/zbuild.h index 12e88bd2..0023a235 100644 --- a/zbuild.h +++ b/zbuild.h @@ -200,6 +200,9 @@ # define ALIGNED_(x) __attribute__ ((aligned(x))) #elif defined(_MSC_VER) # define ALIGNED_(x) __declspec(align(x)) +#else +/* TODO: Define ALIGNED_ for your compiler */ +# define ALIGNED_(x) #endif #ifdef HAVE_BUILTIN_ASSUME_ALIGNED