3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Define empty __attribute__ macro for non-gcc, non-clang compilers

This commit is contained in:
Clifford Wolf 2014-10-15 00:56:04 +02:00
parent 0352dbfd65
commit 069521e2d5
2 changed files with 9 additions and 13 deletions

View file

@ -77,6 +77,10 @@
# define FINAL
#endif
#if !defined(__GNUC__) && !defined(__clang__)
# define __attribute__(...)
#endif
YOSYS_NAMESPACE_BEGIN
namespace RTLIL {