aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/log.h5
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;