From 4569a747f8af3880e23408eb93323afc8088b78b Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 10 Oct 2014 16:59:44 +0200 Subject: Renamed SIZE() to GetSize() because of name collision on Win32 --- kernel/yosys.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/yosys.h') diff --git a/kernel/yosys.h b/kernel/yosys.h index e796919f..c5da9f04 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -84,8 +84,8 @@ namespace RTLIL { std::string stringf(const char *fmt, ...); std::string vstringf(const char *fmt, va_list ap); -template int SIZE(const T &obj) { return obj.size(); } -int SIZE(RTLIL::Wire *wire); +template int GetSize(const T &obj) { return obj.size(); } +int GetSize(RTLIL::Wire *wire); YOSYS_NAMESPACE_END -- cgit v1.2.3