diff --git a/WIN32-Code/config.h b/WIN32-Code/config.h index 88b2a513..4964c145 100644 --- a/WIN32-Code/config.h +++ b/WIN32-Code/config.h @@ -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 */