From 4ee01bbc747ce85b5ccfeed3e934dfb76fb14482 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 12 Oct 2004 08:37:25 +0200 Subject: merged seokgyos win32 fixes --- include/fitz/base.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/fitz/base.h') diff --git a/include/fitz/base.h b/include/fitz/base.h index 26a23be5..06a644b3 100644 --- a/include/fitz/base.h +++ b/include/fitz/base.h @@ -36,12 +36,11 @@ struct fz_error_s extern fz_error fz_koutofmem; #ifdef WIN32 -#define fz_throw fz_throwMS -fz_error *fz_throwMS(char *fmt, ...); +#define fz_throw(...) fz_throw0(__FUNCTION__, __FILE__, __LINE__, __VA_ARGS__) #else #define fz_throw(fmt, ...) fz_throw0(__func__, __FILE__, __LINE__, fmt, ## __VA_ARGS__) -fz_error *fz_throw0(const char *func, const char *file, int line, char *fmt, ...); #endif +fz_error *fz_throw0(const char *func, const char *file, int line, char *fmt, ...); void fz_warn(char *fmt, ...); void fz_abort(fz_error *eo); -- cgit v1.2.3