summaryrefslogtreecommitdiff
path: root/apps/pdfshow.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-01-03 16:37:48 +0000
committerRobin Watts <robin.watts@artifex.com>2012-01-03 18:42:23 +0000
commit94439d77f23763d59457b9946ba35bd354ea4841 (patch)
treecf957fe1465b49c530882a0c5f8cb56f1e7f4963 /apps/pdfshow.c
parenta842269cb43fcb5f1d0bdd594d8d0839a7dcbdf7 (diff)
downloadmupdf-94439d77f23763d59457b9946ba35bd354ea4841.tar.xz
Add mubusy build
Add simple combined exe build for mupdf/muxps tools.
Diffstat (limited to 'apps/pdfshow.c')
-rw-r--r--apps/pdfshow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/pdfshow.c b/apps/pdfshow.c
index 3f142264..86743de3 100644
--- a/apps/pdfshow.c
+++ b/apps/pdfshow.c
@@ -167,7 +167,11 @@ static void showgrep(char *filename)
fz_fprint_obj(stdout, xref->trailer, 1);
}
+#ifdef MUPDF_COMBINED_EXE
+int pdfshow_main(int argc, char **argv)
+#else
int main(int argc, char **argv)
+#endif
{
char *password = NULL; /* don't throw errors if encrypted */
char *filename;