* lib/cdefs.h (__attribute__): Don't define to empty on Tiny C.
Copyright-paperwork-exempt: Yes
+2025-10-30 Eric Wong <normalperson@yhbt.net> (tiny change)
+
+ libc-config: Don't disable __attribute__ when compiling with Tiny C.
+ * lib/cdefs.h (__attribute__): Don't define to empty on Tiny C.
+
2025-10-30 Bruno Haible <bruno@clisp.org>
fprintftime: Avoid size_t overflow for very large outputs.
*/
#endif
-/* GCC and clang have various useful declarations that can be made with
- the '__attribute__' syntax. All of the ways we use this do fine if
- they are omitted for compilers that don't understand it. */
-#if !(defined __GNUC__ || defined __clang__)
+/* GCC, clang, and compatible compilers have various useful declarations
+ that can be made with the '__attribute__' syntax. All of the ways we use
+ this do fine if they are omitted for compilers that don't understand it. */
+#if !(defined __GNUC__ || defined __clang__ || defined __TINYC__)
# define __attribute__(xyz) /* Ignore */
#endif