diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-06-29 12:55:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-06-29 12:55:03 -0400 |
commit | d9052c629b94343aef63f4e8c891c9c0a9c097b5 (patch) | |
tree | ab5ad9fdf4f329764282104566deacb94d97738c /src/common/torlog.h | |
parent | 66c73abe039611073d6086e617999d56ac8e73bd (diff) | |
download | tor-d9052c629b94343aef63f4e8c891c9c0a9c097b5.tar.gz tor-d9052c629b94343aef63f4e8c891c9c0a9c097b5.zip |
Remove checks for visual C 6.
Diffstat (limited to 'src/common/torlog.h')
-rw-r--r-- | src/common/torlog.h | 11 |
1 files changed, 0 insertions, 11 deletions
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 */ |