diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-10-31 08:42:42 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-10-31 08:42:42 +0000 |
commit | 087ed5c373fa2208ad2a7060486e49cf0cac3d30 (patch) | |
tree | 0d25a980372079c7d6bee067e19e9c1ad7669ee0 /Build/source/texk/web2c/luatexdir/luatex.c | |
parent | 2bdc6e0d8bf027221df8e869c992bbcf52238034 (diff) |
texk/web2c/luatexdir [W32TEX]: Handling of luatex.dll and luajittex.dll
git-svn-id: svn://tug.org/texlive/trunk@35475 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luatex.c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luatex.c b/Build/source/texk/web2c/luatexdir/luatex.c index c803b5bb319..1e1e30c1e46 100644 --- a/Build/source/texk/web2c/luatexdir/luatex.c +++ b/Build/source/texk/web2c/luatexdir/luatex.c @@ -10,6 +10,14 @@ #defines TeX or MF, which avoids the need for a special Makefile rule. */ +/* We |#define DLLPROC| in order to build LuaTeX and LuajitTeX as DLL + for W32TeX. */ +#if defined LuajitTeX +#define DLLPROC dllluajittexmain +#else +#define DLLPROC dllluatexmain +#endif + #include "ptexlib.h" #include "luatex.h" #include "lua/luatex-api.h" @@ -466,7 +474,7 @@ static void myInvalidParameterHandler(const wchar_t * expression, happen in `topenin', then call the main body. */ int -#if defined(WIN32) && !defined(__MINGW32__) && defined(DLLPROC) +#if defined(DLLPROC) DLLPROC (int ac, string *av) #else main (int ac, string *av) |