summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/lua
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-12-07 16:51:36 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-12-07 16:51:36 +0000
commit35d853280159bea628c9356cf0e690b1bec9ed52 (patch)
treea17ee72c81806c612cca7a6119e8c4785a3db5c6 /Build/source/texk/web2c/luatexdir/lua
parente84ea0384009f65714151198b3138c148cf5e890 (diff)
more configure checks for tex/web2c/
git-svn-id: svn://tug.org/texlive/trunk@16322 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua')
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/loslibext.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/loslibext.c b/Build/source/texk/web2c/luatexdir/lua/loslibext.c
index 979ed4202a8..95d27a20f37 100644
--- a/Build/source/texk/web2c/luatexdir/lua/loslibext.c
+++ b/Build/source/texk/web2c/luatexdir/lua/loslibext.c
@@ -810,13 +810,14 @@ static int os_gettimeofday(lua_State * L)
}
#endif
+#ifndef HAVE_MKDTEMP
static const char repl[] = "0123456789abcdefghijklmnopqrstuvwxyz";
static int dirs_made = 0;
#define MAXTRIES 36*36*36
-char *do_mkdtemp(char *tmpl)
+static char *do_mkdtemp(char *tmpl)
{
int count;
int value;
@@ -848,6 +849,7 @@ char *do_mkdtemp(char *tmpl)
}
return NULL;
}
+#endif
static int os_tmpdir(lua_State * L)
{