mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
fix windows build (MODEVENT-63)
This commit is contained in:
1 parent
6d80b3db11
commit
8a4a09838c
2 files changed
+4
-4
No files matched your search
@@ -104,7 +104,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""$(InputDir)..\..\..\..\libs\json-c-0.9""
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ static switch_status_t set_json_cdr_log_dirs()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define JSON_ENSURE_SUCCESS(obj) if (is_error(obj)) { return; }
|
#define JSON_ENSURE_SUCCESS(obj) if (is_error(obj)) { return; }
|
||||||
SWITCH_DECLARE(void) set_json_profile_data(struct json_object *json, switch_caller_profile_t *caller_profile)
|
static void set_json_profile_data(struct json_object *json, switch_caller_profile_t *caller_profile)
|
||||||
{
|
{
|
||||||
struct json_object *param = NULL;
|
struct json_object *param = NULL;
|
||||||
|
|
||||||
@@ -236,7 +236,7 @@ SWITCH_DECLARE(void) set_json_profile_data(struct json_object *json, switch_call
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SWITCH_DECLARE(void) set_json_chan_vars(struct json_object *json, switch_channel_t *channel)
|
static void set_json_chan_vars(struct json_object *json, switch_channel_t *channel)
|
||||||
{
|
{
|
||||||
struct json_object *variable = NULL;
|
struct json_object *variable = NULL;
|
||||||
switch_event_header_t *hi = switch_channel_variable_first(channel);
|
switch_event_header_t *hi = switch_channel_variable_first(channel);
|
||||||
@@ -268,7 +268,7 @@ SWITCH_DECLARE(void) set_json_chan_vars(struct json_object *json, switch_channel
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
SWITCH_DECLARE(switch_status_t) generate_json_cdr(switch_core_session_t *session, struct json_object **json_cdr)
|
static switch_status_t generate_json_cdr(switch_core_session_t *session, struct json_object **json_cdr)
|
||||||
{
|
{
|
||||||
|
|
||||||
struct json_object *cdr = json_object_new_object();
|
struct json_object *cdr = json_object_new_object();
|
||||||
|
|||||||
Reference in new issue
Block a user