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

View File

@@ -1,18 +1,13 @@
/*
** $Id: liolib.c,v 2.137 2014/10/25 11:50:46 roberto Exp roberto $
** $Id: liolib.c,v 2.138 2014/10/31 15:54:06 roberto Exp roberto $
** Standard I/O (and system) library
** See Copyright Notice in lua.h
*/
#define liolib_c
#define LUA_LIB
/*
** This definition must come before the inclusion of 'stdio.h'; it
** should not affect non-POSIX systems
*/
#if !defined(_FILE_OFFSET_BITS)
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#endif
#include "lprefix.h"
#include <ctype.h>
@@ -22,9 +17,6 @@
#include <stdlib.h>
#include <string.h>
#define liolib_c
#define LUA_LIB
#include "lua.h"
#include "lauxlib.h"