Microsoft Visual C++ fix for log.h.

This commit is contained in:
Andrei Errapart 2015-08-24 22:52:27 +02:00 committed by Clifford Wolf
parent 24e7cf89bc
commit 744a5333f5
1 changed files with 5 additions and 0 deletions

View File

@ -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;