equal
deleted
inserted
replaced
20 #define LLM_CONFIG_H |
20 #define LLM_CONFIG_H |
21 |
21 |
22 // define this to enable debugging output |
22 // define this to enable debugging output |
23 #cmakedefine DEBUG |
23 #cmakedefine DEBUG |
24 |
24 |
|
25 // define this, if you are building with liblua 5.2 |
|
26 #cmakedefine HAVE_LUA52 |
|
27 |
25 // define this, if your loudmouth have lm_connection_get_keep_alive_rate () |
28 // define this, if your loudmouth have lm_connection_get_keep_alive_rate () |
26 #cmakedefine HAVE_LM_CONNECTION_GET_KEEP_ALIVE_RATE |
29 #cmakedefine HAVE_LM_CONNECTION_GET_KEEP_ALIVE_RATE |
27 |
30 |
28 // define this, if your loudmouth have lm_connection_unregister_reply_handler () |
31 // define this, if your loudmouth have lm_connection_unregister_reply_handler () |
29 #cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER |
32 #cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER |
|
33 |
|
34 #ifndef HAVE_LUA52 |
|
35 # define lua_rawlen lua_objlen |
|
36 # define luaL_setfuncs(STATE, REGTABLE, IGZERO) luaL_register ( STATE, NULL, REGTABLE ) |
|
37 #endif |
30 |
38 |
31 #ifdef DEBUG |
39 #ifdef DEBUG |
32 # include <glib.h> |
40 # include <glib.h> |
33 |
41 |
34 # ifndef LLM_LOG_PREFIX |
42 # ifndef LLM_LOG_PREFIX |