]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
zbuild: Provide a fallback for "ALIGNED_(x)" for other compiler
authorDetlef Riekenberg <wine.dev@web.de>
Fri, 29 Nov 2024 21:59:52 +0000 (22:59 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 8 Dec 2024 11:51:06 +0000 (12:51 +0100)
zbuild.h

index 12e88bd23a766d6783d1666b2f1a0b1b93f00da1..0023a235d2a091ce3a68ddff2703f4b14adb137b 100644 (file)
--- a/zbuild.h
+++ b/zbuild.h
 #  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