r16556@catbus: nickm | 2007-11-07 17:55:39 -0500

MSVC6 does not seem to define a useful "what is the name of this function" macro 


svn:r502
This commit is contained in:
Nick Mathewson 2007-11-07 22:57:08 +00:00
parent 74e5e8f439
commit 8fd2124ef9

View File

@ -206,7 +206,11 @@
#define VERSION "1.3.99-trunk"
/* Define to appropriate substitue if compiler doesnt have __func__ */
#if defined(_MSC_VER) && _MSC_VER < 1300
#define __func__ "??"
#else
#define __func__ __FUNCTION__
#endif
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */