Roberto Ierusalimschy 23 년 전
부모
커밋
576bded513
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 2
      liolib.c
  2. 3 3
      makefile

+ 2 - 2
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
 ** See Copyright Notice in lua.h
 */
@@ -26,7 +26,7 @@
 */
 
 
-#ifndef POPEN
+#ifndef USE_POPEN
 #define pclose(f)    (-1)
 #endif
 

+ 3 - 3
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
 ## See Copyright Notice in lua.h
 #
@@ -7,7 +7,7 @@
 
 #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
 #
@@ -21,7 +21,7 @@ OPTIMIZE =  -O2 \
    -D'lua_number2int(i,d)=__asm__("fldl %1\nfistpl %0":"=m"(i):"m"(d))' \
   -fomit-frame-pointer
 
-CONFIG = -D_POSIX_SOURCE -DPOPEN $(DEBUG) $(OPTIMIZE)
+CONFIG = -D_POSIX_SOURCE -DUSE_POPEN $(DEBUG) $(OPTIMIZE)