X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Ferror.h;h=06222a06f03050fd4c16cdd798a01ec2561ed1c1;hb=5864d8266f61b38fc5836a3cc72dbc6ba0d285be;hp=45e8f14ff8bf5c7164a44324270ae7c3f1a17592;hpb=e6a50e92c221b5c4ce2d86caa1ba2093b20f3ac3;p=wimlib diff --git a/include/wimlib/error.h b/include/wimlib/error.h index 45e8f14f..06222a06 100644 --- a/include/wimlib/error.h +++ b/include/wimlib/error.h @@ -44,17 +44,6 @@ extern FILE *wimlib_error_file; # define WARNING_WITH_ERRNO(format, ...) dummy_tprintf(T(format), ## __VA_ARGS__) #endif /* !ENABLE_ERROR_MESSAGES */ -#ifdef ENABLE_DEBUG -extern void -wimlib_debug(const tchar *file, int line, const char *func, - const tchar *format, ...); -# define DEBUG(format, ...) \ - wimlib_debug(T(__FILE__), __LINE__, __func__, T(format), ## __VA_ARGS__) - -#else -# define DEBUG(format, ...) dummy_tprintf(T(format), ## __VA_ARGS__) -#endif /* !ENABLE_DEBUG */ - extern void print_byte_field(const u8 *field, size_t len, FILE *out);