projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e7cf8
)
Microsoft Visual C++ fix for log.h.
author
Andrei Errapart
<andrei@errapartengineering.com>
Mon, 24 Aug 2015 20:52:27 +0000
(22:52 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 1 Sep 2015 10:40:12 +0000
(12:40 +0200)
kernel/log.h
patch
|
blob
|
history
diff --git
a/kernel/log.h
b/kernel/log.h
index 8cf4714651e463885d7e8f880330e5d75ab12f50..28baf9886ab3569de2ed844dcc269ae999b90665 100644
(file)
--- 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;