summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-06-02 11:02:59 +0100
committerRobin Watts <robin.watts@artifex.com>2015-06-02 11:12:22 +0100
commite513c5587954b85e29fd3c35207afab94c1b024f (patch)
tree2c0c29681d0a4536c599971409e61463a9f898c7 /source
parent274f92661e7c595185768a5c3cdd7c030bd84bb4 (diff)
downloadmupdf-e513c5587954b85e29fd3c35207afab94c1b024f.tar.xz
Ensure that we can still build mudraw standalone if we want to.
MUDRAW_STANDALONE forces mudraw_main to be just main. Set this in the mudraw VS project.
Diffstat (limited to 'source')
-rw-r--r--source/tools/mudraw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index 4483ad43..509e59b2 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -846,7 +846,11 @@ trace_realloc(void *arg, void *p_, unsigned int size)
return &p[1];
}
+#ifdef MUDRAW_STANDALONE
+int main(int argc, char **argv)
+#else
int mudraw_main(int argc, char **argv)
+#endif
{
char *password = "";
fz_document *doc = NULL;