From 28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 2 Nov 2014 17:19:04 -0200 Subject: added include for 'lprefix.h', for stuff that must be added before any other header file --- loadlib.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'loadlib.c') diff --git a/loadlib.c b/loadlib.c index 898ac92e..79a7b86c 100644 --- a/loadlib.c +++ b/loadlib.c @@ -1,5 +1,5 @@ /* -** $Id: loadlib.c,v 1.118 2014/10/25 11:50:46 roberto Exp roberto $ +** $Id: loadlib.c,v 1.119 2014/10/27 18:05:37 roberto Exp roberto $ ** Dynamic library loader for Lua ** See Copyright Notice in lua.h ** @@ -8,22 +8,15 @@ ** systems. */ +#define loadlib_c +#define LUA_LIB -/* -** if needed, includes windows header before everything else -*/ -#if defined(_WIN32) -#include -#endif +#include "lprefix.h" #include #include - -#define loadlib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" -- cgit v1.2.3-55-g6feb