summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/dvipdfm-x/dvipdfmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.c b/Build/source/texk/dvipdfm-x/dvipdfmx.c
index c12f2681d1d..453bbd4fab1 100644
--- a/Build/source/texk/dvipdfm-x/dvipdfmx.c
+++ b/Build/source/texk/dvipdfm-x/dvipdfmx.c
@@ -891,7 +891,7 @@ do_mps_pages (void)
/* Support to make DLL in W32TeX */
#define DLLPROC dlldvipdfmxmain
#endif
-#if defined(WIN32) && !defined(__MINGW32__) && !defined(MIKTEX)
+#if defined(WIN32) && !defined(__MINGW32__) && !defined(MIKTEX) && defined(DLLPROC)
extern __declspec(dllexport) int DLLPROC (int argc, char *argv[]);
#else
#undef DLLPROC