diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-06-28 12:51:28 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-06-28 12:53:33 +0100 |
commit | c256490e6927539522e2433e3b300515f85a25bf (patch) | |
tree | 22ba904b93cea85b0df223cf4f7bd1a3e0111b00 /source | |
parent | 9df3a0615a1fa7745160c099e1ac7cd4dfcbc86e (diff) | |
download | mupdf-c256490e6927539522e2433e3b300515f85a25bf.tar.xz |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |