mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 05:14:46 -04:00
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:
parent
74e5e8f439
commit
8fd2124ef9
@ -206,7 +206,11 @@
|
|||||||
#define VERSION "1.3.99-trunk"
|
#define VERSION "1.3.99-trunk"
|
||||||
|
|
||||||
/* Define to appropriate substitue if compiler doesnt have __func__ */
|
/* Define to appropriate substitue if compiler doesnt have __func__ */
|
||||||
|
#if defined(_MSC_VER) && _MSC_VER < 1300
|
||||||
|
#define __func__ "??"
|
||||||
|
#else
|
||||||
#define __func__ __FUNCTION__
|
#define __func__ __FUNCTION__
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define to empty if `const' does not conform to ANSI C. */
|
/* Define to empty if `const' does not conform to ANSI C. */
|
||||||
/* #undef const */
|
/* #undef const */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user