mirror of https://github.com/rusefi/lua.git
details
This commit is contained in:
parent
ecc7769de2
commit
576bded513
4
liolib.c
4
liolib.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: liolib.c,v 2.14 2002/07/17 16:25:13 roberto Exp roberto $
|
** $Id: liolib.c,v 2.15 2002/08/06 18:01:50 roberto Exp roberto $
|
||||||
** Standard I/O (and system) library
|
** Standard I/O (and system) library
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef POPEN
|
#ifndef USE_POPEN
|
||||||
#define pclose(f) (-1)
|
#define pclose(f) (-1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
6
makefile
6
makefile
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
## $Id: makefile,v 1.35 2002/03/18 18:18:35 roberto Exp roberto $
|
## $Id: makefile,v 1.36 2002/08/06 19:12:54 roberto Exp roberto $
|
||||||
## Makefile
|
## Makefile
|
||||||
## See Copyright Notice in lua.h
|
## See Copyright Notice in lua.h
|
||||||
#
|
#
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#CONFIGURATION
|
#CONFIGURATION
|
||||||
|
|
||||||
# define (undefine) POPEN if your system (does not) support piped I/O
|
# define (undefine) USE_POPEN if your system (does not) support piped I/O
|
||||||
#
|
#
|
||||||
# define (undefine) _POSIX_SOURCE if your system is (not) POSIX compliant
|
# define (undefine) _POSIX_SOURCE if your system is (not) POSIX compliant
|
||||||
#
|
#
|
||||||
|
@ -21,7 +21,7 @@ OPTIMIZE = -O2 \
|
||||||
-D'lua_number2int(i,d)=__asm__("fldl %1\nfistpl %0":"=m"(i):"m"(d))' \
|
-D'lua_number2int(i,d)=__asm__("fldl %1\nfistpl %0":"=m"(i):"m"(d))' \
|
||||||
-fomit-frame-pointer
|
-fomit-frame-pointer
|
||||||
|
|
||||||
CONFIG = -D_POSIX_SOURCE -DPOPEN $(DEBUG) $(OPTIMIZE)
|
CONFIG = -D_POSIX_SOURCE -DUSE_POPEN $(DEBUG) $(OPTIMIZE)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue