diff options
author | Andrei Errapart <andrei@errapartengineering.com> | 2015-08-24 22:52:27 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-09-01 12:40:12 +0200 |
commit | 744a5333f5ee5105d539d152feff4c339f06804b (patch) | |
tree | 43ff73ad48537180d0ee9fb50401e7b1b39da381 /kernel | |
parent | 24e7cf89bc4ecc713c356e7a4c7af3229fff0f5d (diff) | |
download | yosys-744a5333f5ee5105d539d152feff4c339f06804b.tar.gz yosys-744a5333f5ee5105d539d152feff4c339f06804b.tar.bz2 yosys-744a5333f5ee5105d539d152feff4c339f06804b.zip |
Microsoft Visual C++ fix for log.h.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/log.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <sys/resource.h> #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; |