diff options
author | Fred Ross-Perry <fred.ross-perry@artifex.com> | 2016-11-09 13:05:01 -0800 |
---|---|---|
committer | Fred Ross-Perry <fred.ross-perry@artifex.com> | 2016-11-15 12:31:08 -0800 |
commit | 5ed7e6c29233874a68733cdf075260fe261caa40 (patch) | |
tree | e0be11998fbed6cd1f9bfd0c7051ce2c075d6d3b | |
parent | 8bbd13958f33e7786bbdb2d001d3348d8b49e8b8 (diff) | |
download | mupdf-5ed7e6c29233874a68733cdf075260fe261caa40.tar.xz |
move the definition of GSDLLCALL to a different spot, above where it's
first used.
-rw-r--r-- | source/gprf/gprf-doc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gprf/gprf-doc.c b/source/gprf/gprf-doc.c index aa662aaf..0a831441 100644 --- a/source/gprf/gprf-doc.c +++ b/source/gprf/gprf-doc.c @@ -22,6 +22,10 @@ #define GSDLLAPI #endif +#ifndef GSDLLCALL +#define GSDLLCALL +#endif + /* We can either rely on the official iapi.h from ghostscript (which is not supplied in the MuPDF source), or we can use @@ -39,10 +43,6 @@ extern GSDLLEXPORT int GSDLLAPI gsapi_set_stdio(void *, int (GSDLLCALL *)(void * #endif /* HAVE_IAPI_H */ #endif /* USE_GS_API */ -#ifndef GSDLLCALL -#define GSDLLCALL -#endif - typedef struct gprf_document_s gprf_document; typedef struct gprf_chapter_s gprf_chapter; typedef struct gprf_page_s gprf_page; |