diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-12-18 09:59:24 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-12-18 09:59:24 +0000 |
commit | b22cb23cdeac4ab3438e64d1687205825d432f51 (patch) | |
tree | 3260ca585f4bcb83d4a1c3a7fb927db106ef927c /Build/source/texk/dvipdfm-x/dvipdfmx.c | |
parent | 92c0a963ad9468c08d01c2a487d8ae382925389c (diff) |
dvipdfm-x: Merge libdpx by Clerk Ma at https://github.com/clerkma/ptex-ng
git-svn-id: svn://tug.org/texlive/trunk@42741 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvipdfmx.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvipdfmx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.c b/Build/source/texk/dvipdfm-x/dvipdfmx.c index b089dbc225f..fb68318841c 100644 --- a/Build/source/texk/dvipdfm-x/dvipdfmx.c +++ b/Build/source/texk/dvipdfm-x/dvipdfmx.c @@ -66,7 +66,11 @@ int is_xdv = 0; int translate_origin = 0; +#if defined(LIBDPX) +const char *my_name = "ApTeX"; +#else const char *my_name; +#endif /* LIBDPX */ int compat_mode = 0; /* 0 = dvipdfmx, 1 = dvipdfm */ @@ -916,6 +920,7 @@ do_mps_pages (void) } } +#if !defined(LIBDPX) /* Support to make DLL in W32TeX */ #define DLLPROC dlldvipdfmxmain @@ -924,6 +929,7 @@ extern __declspec(dllexport) int DLLPROC (int argc, char *argv[]); #else #undef DLLPROC #endif +#endif /* !LIBDPX */ #if defined(MIKTEX) # define main Main @@ -933,7 +939,11 @@ int #if defined(DLLPROC) DLLPROC (int argc, char *argv[]) #else +#if defined(LIBDPX) +dvipdfmx_main (int argc, char *argv[]) +#else main (int argc, char *argv[]) +#endif /* LIBDPX */ #endif { double dvi2pts; |