X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Ferror.h;h=06222a06f03050fd4c16cdd798a01ec2561ed1c1;hp=a6b1a472b34b928edee0391aee2ce9bb9acb6aa4;hb=a4123fea556d6c362318212127e25846981ea190;hpb=30de026bb982eb3955acb17703b53fe72eb23751 diff --git a/include/wimlib/error.h b/include/wimlib/error.h index a6b1a472..06222a06 100644 --- a/include/wimlib/error.h +++ b/include/wimlib/error.h @@ -44,22 +44,6 @@ extern FILE *wimlib_error_file; # define WARNING_WITH_ERRNO(format, ...) dummy_tprintf(T(format), ## __VA_ARGS__) #endif /* !ENABLE_ERROR_MESSAGES */ -#if defined(ENABLE_MORE_ASSERTIONS) && !defined(ENABLE_ASSERTIONS) -# define ENABLE_ASSERTIONS 1 -#endif - - -#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);