From d9052c629b94343aef63f4e8c891c9c0a9c097b5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 29 Jun 2015 12:55:03 -0400 Subject: Remove checks for visual C 6. --- src/common/torlog.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/common/torlog.h') diff --git a/src/common/torlog.h b/src/common/torlog.h index 8923a9e213..710313a9a6 100644 --- a/src/common/torlog.h +++ b/src/common/torlog.h @@ -210,16 +210,6 @@ void log_notice_(log_domain_mask_t domain, const char *format, ...); void log_warn_(log_domain_mask_t domain, const char *format, ...); void log_err_(log_domain_mask_t domain, const char *format, ...); -#if defined(_MSC_VER) && _MSC_VER < 1300 -/* MSVC 6 and earlier don't have __func__, or even __LINE__. */ -#define log_fn log_fn_ -#define log_fn_ratelim log_fn_ratelim_ -#define log_debug log_debug_ -#define log_info log_info_ -#define log_notice log_notice_ -#define log_warn log_warn_ -#define log_err log_err_ -#else /* We don't have GCC's varargs macros, so use a global variable to pass the * function name to log_fn */ extern const char *log_fn_function_name_; @@ -233,7 +223,6 @@ extern const char *log_fn_function_name_; #define log_notice (log_fn_function_name_=__func__),log_notice_ #define log_warn (log_fn_function_name_=__func__),log_warn_ #define log_err (log_fn_function_name_=__func__),log_err_ -#endif #endif /* !GNUC */ -- cgit v1.2.3-54-g00ecf