aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-06 16:36:44 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-06 16:36:44 -0300
commit572bddc0b004880644846c37181e68744e52af7c (patch)
tree115a2f3cb45a9bda3043f3849c945d733f7196b5
parent3684f67771a171da83cc4f7fae4e24a39e0919aa (diff)
downloadlua-572bddc0b004880644846c37181e68744e52af7c.tar.gz
lua-572bddc0b004880644846c37181e68744e52af7c.tar.bz2
lua-572bddc0b004880644846c37181e68744e52af7c.zip
LUA_USETMPNAME -> USE_TMPNAME
-rw-r--r--liolib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/liolib.c b/liolib.c
index 2b4e0f5f..1181d7bd 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 2.32 2003/02/11 15:31:50 roberto Exp roberto $ 2** $Id: liolib.c,v 2.33 2003/02/27 12:39:05 roberto Exp roberto $
3** Standard I/O (and system) library 3** Standard I/O (and system) library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -24,11 +24,11 @@
24/* 24/*
25** by default, gcc does not get `tmpname' 25** by default, gcc does not get `tmpname'
26*/ 26*/
27#ifndef LUA_USETMPNAME 27#ifndef USE_TMPNAME
28#ifdef __GNUC__ 28#ifdef __GNUC__
29#define LUA_USETMPNAME 0 29#define USE_TMPNAME 0
30#else 30#else
31#define LUA_USETMPNAME 1 31#define USE_TMPNAME 1
32#endif 32#endif
33#endif 33#endif
34 34
@@ -569,7 +569,7 @@ static int io_rename (lua_State *L) {
569 569
570 570
571static int io_tmpname (lua_State *L) { 571static int io_tmpname (lua_State *L) {
572#if !LUA_USETMPNAME 572#if !USE_TMPNAME
573 luaL_error(L, "`tmpname' not supported"); 573 luaL_error(L, "`tmpname' not supported");
574 return 0; 574 return 0;
575#else 575#else