aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-16 17:02:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-16 17:02:13 -0300
commit576bded5137babb9c669ccff5aedf19ed65a7598 (patch)
tree567f9bde5f01614d885081221c3db3968b869845
parentecc7769de2f3fb898235759cda9ae822a6168341 (diff)
downloadlua-576bded5137babb9c669ccff5aedf19ed65a7598.tar.gz
lua-576bded5137babb9c669ccff5aedf19ed65a7598.tar.bz2
lua-576bded5137babb9c669ccff5aedf19ed65a7598.zip
details
-rw-r--r--liolib.c4
-rw-r--r--makefile6
2 files changed, 5 insertions, 5 deletions
diff --git a/liolib.c b/liolib.c
index 8961652e..2dc0f038 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 2.14 2002/07/17 16:25:13 roberto Exp roberto $ 2** $Id: liolib.c,v 2.15 2002/08/06 18:01:50 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*/
@@ -26,7 +26,7 @@
26*/ 26*/
27 27
28 28
29#ifndef POPEN 29#ifndef USE_POPEN
30#define pclose(f) (-1) 30#define pclose(f) (-1)
31#endif 31#endif
32 32
diff --git a/makefile b/makefile
index 2d6f7e46..8f62f4c3 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,5 @@
1# 1#
2## $Id: makefile,v 1.35 2002/03/18 18:18:35 roberto Exp roberto $ 2## $Id: makefile,v 1.36 2002/08/06 19:12:54 roberto Exp roberto $
3## Makefile 3## Makefile
4## See Copyright Notice in lua.h 4## See Copyright Notice in lua.h
5# 5#
@@ -7,7 +7,7 @@
7 7
8#CONFIGURATION 8#CONFIGURATION
9 9
10# define (undefine) POPEN if your system (does not) support piped I/O 10# define (undefine) USE_POPEN if your system (does not) support piped I/O
11# 11#
12# define (undefine) _POSIX_SOURCE if your system is (not) POSIX compliant 12# define (undefine) _POSIX_SOURCE if your system is (not) POSIX compliant
13# 13#
@@ -21,7 +21,7 @@ OPTIMIZE = -O2 \
21 -D'lua_number2int(i,d)=__asm__("fldl %1\nfistpl %0":"=m"(i):"m"(d))' \ 21 -D'lua_number2int(i,d)=__asm__("fldl %1\nfistpl %0":"=m"(i):"m"(d))' \
22 -fomit-frame-pointer 22 -fomit-frame-pointer
23 23
24CONFIG = -D_POSIX_SOURCE -DPOPEN $(DEBUG) $(OPTIMIZE) 24CONFIG = -D_POSIX_SOURCE -DUSE_POPEN $(DEBUG) $(OPTIMIZE)
25 25
26 26
27 27