aboutsummaryrefslogtreecommitdiff
path: root/loadlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'loadlib.c')
-rw-r--r--loadlib.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/loadlib.c b/loadlib.c
index 898ac92e..79a7b86c 100644
--- a/loadlib.c
+++ b/loadlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loadlib.c,v 1.118 2014/10/25 11:50:46 roberto Exp roberto $ 2** $Id: loadlib.c,v 1.119 2014/10/27 18:05:37 roberto Exp roberto $
3** Dynamic library loader for Lua 3** Dynamic library loader for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5** 5**
@@ -8,22 +8,15 @@
8** systems. 8** systems.
9*/ 9*/
10 10
11#define loadlib_c
12#define LUA_LIB
11 13
12/* 14#include "lprefix.h"
13** if needed, includes windows header before everything else
14*/
15#if defined(_WIN32)
16#include <windows.h>
17#endif
18 15
19 16
20#include <stdlib.h> 17#include <stdlib.h>
21#include <string.h> 18#include <string.h>
22 19
23
24#define loadlib_c
25#define LUA_LIB
26
27#include "lua.h" 20#include "lua.h"
28 21
29#include "lauxlib.h" 22#include "lauxlib.h"