Add a macro to remove __attribute__(()) if not compiling with GCC.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user