diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-11-02 19:58:58 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-11-03 18:10:50 +0000 |
commit | 0289421f68b810cee600a5a047507091ff4731df (patch) | |
tree | 34e1523cc3bb61e5b69e2d81aeb79d5ee1f40c8c | |
parent | aba49e431a60fc2532ad737995d9e0047eb945f8 (diff) | |
download | mupdf-0289421f68b810cee600a5a047507091ff4731df.tar.xz |
Fix DebugGProof builds on windows.
GSDLLCALL was not being set.
-rw-r--r-- | source/gprf/gprf-doc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/gprf/gprf-doc.c b/source/gprf/gprf-doc.c index 5d8503df..1ec09544 100644 --- a/source/gprf/gprf-doc.c +++ b/source/gprf/gprf-doc.c @@ -16,7 +16,6 @@ /* We are assumed to be using the DLL here */ #define GSDLLEXPORT -#define GSDLLCALL #ifdef _MSC_VER #define GSDLLAPI __stdcall #else @@ -40,6 +39,10 @@ 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; |