From c256490e6927539522e2433e3b300515f85a25bf Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 28 Jun 2013 12:51:28 +0100 Subject: Modify FZ_NORETURN to work on MSVC too. We need to have it as a prefix, not a postfix now, but it should work on both gcc and MSVC now. --- source/fitz/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/fitz/error.c b/source/fitz/error.c index 50b3c5aa..13ca9c23 100644 --- a/source/fitz/error.c +++ b/source/fitz/error.c @@ -72,7 +72,7 @@ void fz_warn(fz_context *ctx, const char *fmt, ...) * catch region entered with code = 1. */ -static void throw(fz_error_context *ex) FZ_NORETURN; +FZ_NORETURN static void throw(fz_error_context *ex); static void throw(fz_error_context *ex) { -- cgit v1.2.3