summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-06-28 12:51:28 +0100
committerRobin Watts <robin.watts@artifex.com>2013-06-28 12:53:33 +0100
commitc256490e6927539522e2433e3b300515f85a25bf (patch)
tree22ba904b93cea85b0df223cf4f7bd1a3e0111b00 /source
parent9df3a0615a1fa7745160c099e1ac7cd4dfcbc86e (diff)
downloadmupdf-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.c2
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)
{