diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-01 13:42:19 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-01 13:42:19 +0000 |
commit | 3d887290087ac01c8dddf9422088e5e2a26798da (patch) | |
tree | 0a9640f5ecb6c276330573884af410a70f2b8d6e /Build/source/texk/web2c/luatexdir/luatex.c | |
parent | 6dbfce345ce1137d12b8bd2179d4ab634a8c7c07 (diff) |
LuaTeX: MSVC build fix from Akira
git-svn-id: svn://tug.org/texlive/trunk@31057 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 | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luatex.c b/Build/source/texk/web2c/luatexdir/luatex.c index 120f05dd0bd..d057b1830b9 100644 --- a/Build/source/texk/web2c/luatexdir/luatex.c +++ b/Build/source/texk/web2c/luatexdir/luatex.c @@ -9,15 +9,6 @@ changed to include texd.h or mfd.h. The ?d.h file is what #defines TeX or MF, which avoids the need for a special Makefile rule. */ -#ifdef _MSC_VER -#define LUATEXC_MAIN -#include <time.h> /* For `struct tm'. */ -#if defined (HAVE_SYS_TIME_H) -# include <sys/time.h> -#elif defined (HAVE_SYS_TIMEB_H) -# include <sys/timeb.h> -#endif -#endif #include "ptexlib.h" #include "luatex.h" @@ -46,14 +37,16 @@ const char *engine_name = "luatex"; /* the name of this engine */ #include <kpathsea/concatn.h> #endif -#ifndef _MSC_VER +#ifdef _MSC_VER +#undef timezone +#endif + #include <time.h> /* For `struct tm'. */ #if defined (HAVE_SYS_TIME_H) # include <sys/time.h> #elif defined (HAVE_SYS_TIMEB_H) # include <sys/timeb.h> #endif -#endif #if defined(__STDC__) # include <locale.h> |