X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Ferror.h;fp=include%2Fwimlib%2Ferror.h;h=06222a06f03050fd4c16cdd798a01ec2561ed1c1;hp=45e8f14ff8bf5c7164a44324270ae7c3f1a17592;hb=8214debe2f127bc6d56407c1fb4bee194af83478;hpb=d820468f3c760006bbab61771ba608deb727c53f 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);