From: Andrei Errapart Date: Mon, 24 Aug 2015 20:52:27 +0000 (+0200) Subject: Microsoft Visual C++ fix for log.h. X-Git-Tag: yosys-0.6~172 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=744a5333f5ee5105d539d152feff4c339f06804b;p=yosys.git Microsoft Visual C++ fix for log.h. --- diff --git a/kernel/log.h b/kernel/log.h index 8cf471465..28baf9886 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -29,6 +29,11 @@ # include #endif +#if defined(_MSC_VER) +// At least this is not in MSVC++ 2013. +# define __PRETTY_FUNCTION__ __FUNCTION__ +#endif + // from libs/sha1/sha1.h class SHA1;