فهرست منبع

new name for POSIX flag (this one turns on some posix stuff in standard
header files).

Roberto Ierusalimschy 29 سال پیش
والد
کامیت
9a3c51cff1
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      lua.c

+ 2 - 2
lua.c

@@ -3,7 +3,7 @@
 ** Linguagem para Usuarios de Aplicacao
 */
 
-char *rcs_lua="$Id: lua.c,v 1.10 1996/05/03 19:20:17 roberto Exp roberto $";
+char *rcs_lua="$Id: lua.c,v 1.12 1996/07/05 20:55:43 roberto Exp roberto $";
 
 #include <stdio.h>
 #include <string.h>
@@ -12,7 +12,7 @@ char *rcs_lua="$Id: lua.c,v 1.10 1996/05/03 19:20:17 roberto Exp roberto $";
 #include "lualib.h"
 
 
-#ifdef POSIX
+#ifdef _POSIX_SOURCE
 #include <unistd.h>
 #else
 #define isatty(x)       (x==0)  /* assume stdin is a tty */