summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/lua
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2010-05-28 07:31:11 +0000
committerTaco Hoekwater <taco@elvenkind.com>2010-05-28 07:31:11 +0000
commit64cd59c228451a3df60e9078f382fd4e3e14ce35 (patch)
treee0797fa476108eb81c6d1ea9162ebf66899c213c /Build/source/texk/web2c/luatexdir/lua
parent094c6ef08fd42161548a2aed78f8231940703c8a (diff)
fix __attribute__ usage
git-svn-id: svn://tug.org/texlive/trunk@18546 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua')
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/texluac.w8
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/texluac.w b/Build/source/texk/web2c/luatexdir/lua/texluac.w
index 772d7941d15..3bc7cc2069d 100644
--- a/Build/source/texk/web2c/luatexdir/lua/texluac.w
+++ b/Build/source/texk/web2c/luatexdir/lua/texluac.w
@@ -46,9 +46,15 @@
#include "lua/luatex-api.h"
+
@ @c
static const char _svn_version[] =
- "$Id: texluac.w 3612 2010-04-13 09:29:42Z taco $ $URL: http://foundry.supelec.fr/svn/luatex/branches/0.60.x/source/texk/web2c/luatexdir/lua/texluac.w $";
+ "$Id: texluac.w 3705 2010-05-28 07:19:20Z taco $ $URL: http://foundry.supelec.fr/svn/luatex/branches/0.60.x/source/texk/web2c/luatexdir/lua/texluac.w $";
+
+/* fix for non-gcc compilation: */
+#if !defined(__GNUC__) || (__GNUC__ < 2)
+# define __attribute__(x)
+#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */
@ @c
#define PROGNAME "texluac" /* default program name */