Comparison

util-src/signal.c @ 6413:a552f4170aed

util-src/*.c: Add macro for compiling with Lua 5.2
author Kim Alvefur <zash@zash.se>
date Wed, 17 Sep 2014 14:30:29 +0200
parent 6412:0e94f89d0e62
child 6615:8e4572a642cb
comparison
equal deleted inserted replaced
6412:0e94f89d0e62 6413:a552f4170aed
29 #include <signal.h> 29 #include <signal.h>
30 #include <stdlib.h> 30 #include <stdlib.h>
31 31
32 #include "lua.h" 32 #include "lua.h"
33 #include "lauxlib.h" 33 #include "lauxlib.h"
34
35 #if (LUA_VERSION_NUM == 502)
36 #define luaL_register(L, N, R) luaL_setfuncs(L, R, 0)
37 #endif
34 38
35 #ifndef lsig 39 #ifndef lsig
36 40
37 #define lsig 41 #define lsig
38 42