summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/ptexlib.h
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-06-28 09:25:09 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-06-28 09:25:09 +0000
commit5c8f5c4c20e8920b2f8e2c74653551163bda28de (patch)
tree481c25ae4552b98c4ed44dd8a980db16111a8c73 /Build/source/texk/web2c/luatexdir/ptexlib.h
parentd3f00c44bc132127a0384e451576561f0c9940eb (diff)
Slightly modify luatex.c and ptexlib.h because Visual Studio cannot compile luatex.c.
git-svn-id: svn://tug.org/texlive/trunk@31001 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/ptexlib.h')
-rw-r--r--Build/source/texk/web2c/luatexdir/ptexlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ptexlib.h b/Build/source/texk/web2c/luatexdir/ptexlib.h
index f313e6c03e1..f1fd0898f27 100644
--- a/Build/source/texk/web2c/luatexdir/ptexlib.h
+++ b/Build/source/texk/web2c/luatexdir/ptexlib.h
@@ -24,11 +24,13 @@
# define PTEXLIB_H
/* Try to detect if a system header has already been included. */
+#ifndef LUATEXC_MAIN
#if (defined(__linux__) && defined(_FEATURES_H)) || \
(defined(_MSC_VER) && (defined(_INC_CRTDEFS) || defined(_OFF_T_DEFINED))) || \
(defined(__MINGW32__) && defined(__MINGW_H))
ptexlib.h must be included first!!!
#endif
+#endif
#ifdef HAVE_CONFIG_H
#include <w2c/config.h>