Pārlūkot izejas kodu

new LUA_USERCONFIG to include user options

Roberto Ierusalimschy 23 gadi atpakaļ
vecāks
revīzija
a048d71ef3
1 mainītis faili ar 9 papildinājumiem un 1 dzēšanām
  1. 9 1
      lua.c

+ 9 - 1
lua.c

@@ -1,5 +1,5 @@
 /*
-** $Id: lua.c,v 1.101 2002/08/08 20:08:41 roberto Exp roberto $
+** $Id: lua.c,v 1.102 2002/08/12 17:23:12 roberto Exp roberto $
 ** Lua stand-alone interpreter
 ** See Copyright Notice in lua.h
 */
@@ -16,6 +16,14 @@
 #include "lualib.h"
 
 
+/*
+** generic extra include file
+*/
+#ifdef LUA_USERCONFIG
+#include LUA_USERCONFIG
+#endif
+
+
 #ifdef _POSIX_SOURCE
 #include <unistd.h>
 #else