summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2008-05-06 08:05:53 +0000
committerTaco Hoekwater <taco@elvenkind.com>2008-05-06 08:05:53 +0000
commit92ce7542af75c6cd1d943fbfbe7e3eaf73a43400 (patch)
treeca44136ac6468733ed1ea5be50943fe4691fae7b /Build/source/texk/web2c/luatexdir
parentacd3914be041357c2a14279bd231691e3a428897 (diff)
luatex: compatibility with sun studio
git-svn-id: svn://tug.org/texlive/trunk@7896 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir')
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/loslibext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/loslibext.c b/Build/source/texk/web2c/luatexdir/lua/loslibext.c
index 05a96688441..e79e3a52a98 100644
--- a/Build/source/texk/web2c/luatexdir/lua/loslibext.c
+++ b/Build/source/texk/web2c/luatexdir/lua/loslibext.c
@@ -410,7 +410,7 @@ static int os_setenv (lua_State *L) {
return luaL_error(L, "unable to change environment");
}
} else {
-#if defined(WIN32) || defined(__sun__) || defined(_AIX)
+#if defined(WIN32) || defined(__sun__) || defined(__sun) || defined(_AIX)
value = xmalloc(strlen(key)+2);
sprintf(value,"%s=",key);
if (putenv(value)) {