Add a macro to remove __attribute__(()) if not compiling with GCC.

This commit is contained in:
Andrew Wood
2026-03-20 23:48:28 +00:00
parent 7be959ece1
commit 6a20139f5c
+5
View File
@@ -51,3 +51,8 @@ typedef bool _Bool;
#define PV_REMOTE_CONTROL 1
# endif
#endif
/* Remove __attribute__(()) if not using GCC. */
#ifndef __GNUC__
#define __attribute__(x) /* GCC-only feature */
#endif