mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-26 05:04:14 +00:00
add initial build support to solution for FSCOMM, mod_curl, libjson. Not enabled in the solution build yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16887 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
223871ea76
commit
745ef92c60
6 files changed
+496
-15
No files matched your search
@@ -3,7 +3,7 @@
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Name="mod_curl"
|
||||
ProjectGUID="{AB91A099-7690-4ECF-8994-E458F4EA1ED5}"
|
||||
ProjectGUID="{EF300386-A8DF-4372-B6D8-FB9BFFCA9AED}"
|
||||
RootNamespace="mod_curl"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="131072"
|
||||
@@ -22,7 +22,7 @@
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="..\..\..\..\w32\module_debug.vsprops;..\..\..\..\w32\curl.vsprops"
|
||||
InheritedPropertySheets="..\..\..\..\w32\module_debug.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
@@ -42,7 +42,8 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
AdditionalIncludeDirectories=""$(InputDir)..\..\..\..\libs\curl\include";"$(InputDir)..\..\..\..\libs\json-c-0.8""
|
||||
PreprocessorDefinitions="CURL_STATICLIB"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
<Tool
|
||||
@@ -56,7 +57,6 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalLibraryDirectories=""
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
/>
|
||||
@@ -85,7 +85,7 @@
|
||||
<Configuration
|
||||
Name="Debug|x64"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="..\..\..\..\w32\module_debug.vsprops;..\..\..\..\w32\curl.vsprops"
|
||||
InheritedPropertySheets="..\..\..\..\w32\module_debug.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
@@ -106,7 +106,8 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
AdditionalIncludeDirectories=""$(InputDir)..\..\..\..\libs\curl\include";"$(InputDir)..\..\..\..\libs\json-c-0.8""
|
||||
PreprocessorDefinitions="CURL_STATICLIB"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
<Tool
|
||||
@@ -121,7 +122,6 @@
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="$(SolutionDir)$(PlatformName)\$(ConfigurationName)/mod/$(ProjectName).dll"
|
||||
AdditionalLibraryDirectories=""
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
TargetMachine="17"
|
||||
@@ -151,7 +151,7 @@
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="..\..\..\..\w32\module_release.vsprops;..\..\..\..\w32\curl.vsprops"
|
||||
InheritedPropertySheets="..\..\..\..\w32\module_release.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
@@ -171,7 +171,8 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
AdditionalIncludeDirectories=""$(InputDir)..\..\..\..\libs\curl\include";"$(InputDir)..\..\..\..\libs\json-c-0.8""
|
||||
PreprocessorDefinitions="CURL_STATICLIB"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
<Tool
|
||||
@@ -185,7 +186,6 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalLibraryDirectories=""
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
/>
|
||||
@@ -214,7 +214,7 @@
|
||||
<Configuration
|
||||
Name="Release|x64"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="..\..\..\..\w32\module_release.vsprops;..\..\..\..\w32\curl.vsprops"
|
||||
InheritedPropertySheets="..\..\..\..\w32\module_release.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
@@ -235,7 +235,8 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
AdditionalIncludeDirectories=""$(InputDir)..\..\..\..\libs\curl\include";"$(InputDir)..\..\..\..\libs\json-c-0.8""
|
||||
PreprocessorDefinitions="CURL_STATICLIB"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
<Tool
|
||||
@@ -250,7 +251,6 @@
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="$(SolutionDir)$(PlatformName)\$(ConfigurationName)/mod/$(ProjectName).dll"
|
||||
AdditionalLibraryDirectories=""
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
TargetMachine="17"
|
||||
|
||||
@@ -181,7 +181,7 @@ static char *print_json(switch_memory_pool_t *pool, http_data_t *http_data)
|
||||
while (header) {
|
||||
struct json_object *obj = NULL;
|
||||
/* remove trailing \r */
|
||||
if ((data = rindex(header->data, '\r'))) {
|
||||
if ((data = strrchr(header->data, '\r'))) {
|
||||
*data = '\0';
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ static char *print_json(switch_memory_pool_t *pool, http_data_t *http_data)
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((data = index(header->data, ':'))) {
|
||||
if ((data = strchr(header->data, ':'))) {
|
||||
*data = '\0';
|
||||
data++;
|
||||
while (*data == ' ' && *data != '\0') {
|
||||
|
||||
Reference in new issue
Block a user