added include for 'lprefix.h', for stuff that must be added before

any other header file
This commit is contained in:
Roberto Ierusalimschy
2014-11-02 17:19:04 -02:00
parent c25072a246
commit 28fdbcf393
35 changed files with 199 additions and 146 deletions

12
linit.c
View File

@@ -1,10 +1,16 @@
/*
** $Id: linit.c,v 1.33 2014/02/06 17:32:33 roberto Exp roberto $
** $Id: linit.c,v 1.34 2014/05/15 19:28:34 roberto Exp roberto $
** Initialization of libraries for lua.c and other clients
** See Copyright Notice in lua.h
*/
#define linit_c
#define LUA_LIB
#include "lprefix.h"
/*
** If you embed Lua in your program and need to open the standard
** libraries, call luaL_openlibs in your program. If you need a
@@ -12,10 +18,6 @@
** it to suit your needs.
*/
#define linit_c
#define LUA_LIB
#include "lua.h"
#include "lualib.h"