equal
deleted
inserted
replaced
1 |
1 |
2 /* Copyright 2009 Myhailo Danylenko |
2 /* Copyright 2009-2016 Myhailo Danylenko |
3 |
3 |
4 This file is part of lua-lm. |
4 This file is part of lua-lm. |
5 |
5 |
6 lua-lm is free software: you can redistribute it and/or modify |
6 lua-lm is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by |
7 it under the terms of the GNU General Public License as published by |
32 #cmakedefine HAVE_LM_CONNECTION_GET_KEEP_ALIVE_RATE |
32 #cmakedefine HAVE_LM_CONNECTION_GET_KEEP_ALIVE_RATE |
33 |
33 |
34 // define this, if your loudmouth have lm_connection_unregister_reply_handler () |
34 // define this, if your loudmouth have lm_connection_unregister_reply_handler () |
35 #cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER |
35 #cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER |
36 |
36 |
|
37 // define this, if your loudmouth have lm_ssl_set_ca () |
|
38 #cmakedefine HAVE_LM_SSL_SET_CA |
|
39 |
|
40 // define this, if your loudmouth have lm_ssl_set_cipher_list () |
|
41 #cmakedefine HAVE_LM_SSL_SET_CIPHER_LIST |
|
42 |
37 #ifndef HAVE_LUA52 |
43 #ifndef HAVE_LUA52 |
38 # define lua_rawlen lua_objlen |
44 # define lua_rawlen lua_objlen |
39 # define luaL_setfuncs(STATE, REGTABLE, IGZERO) luaL_register ( STATE, NULL, REGTABLE ) |
45 # define luaL_setfuncs(STATE, REGTABLE, IGZERO) luaL_register ( STATE, NULL, REGTABLE ) |
40 #endif |
46 #endif |
41 |
47 |