]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix core speex for recent commit
authorJeff Lenk <jeff@jefflenk.com>
Sat, 15 Feb 2014 00:38:54 +0000 (18:38 -0600)
committerJeff Lenk <jeff@jefflenk.com>
Sat, 15 Feb 2014 00:38:54 +0000 (18:38 -0600)
src/switch_speex.c
w32/Library/FreeSwitchCore.2010.vcxproj
w32/Library/FreeSwitchCore.2012.vcxproj

index 6bd23f3b2afcfe21486d7fe5cfaa026c81201f6c..99a46f97e68130d3720a74643a79d10142b01117 100644 (file)
 #include <speex/speex.h>
 #include <speex/speex_preprocess.h>
 
+#ifdef WIN32
+#undef SWITCH_MOD_DECLARE_DATA
+#define SWITCH_MOD_DECLARE_DATA __declspec(dllexport)
+#endif
 SWITCH_MODULE_LOAD_FUNCTION(core_speex_load);
 SWITCH_MODULE_DEFINITION(CORE_SPEEX_MODULE, core_speex_load, NULL, NULL);
 
index e72bdf4531e17e345cb08d48a3d1b263678e7ecd..227381f06df1cf7703c29c4ede53d4cfb66e8fe7 100644 (file)
@@ -816,6 +816,9 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs
       <Project>{03207781-0d1c-4db3-a71d-45c608f28dbd}</Project>\r
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
     </ProjectReference>\r
+    <ProjectReference Include="..\..\libs\speex\win32\VS2008\libspeex\libspeex.vcxproj">\r
+      <Project>{e972c52f-9e85-4d65-b19c-031e511e9db4}</Project>\r
+    </ProjectReference>\r
     <ProjectReference Include="..\..\libs\srtp\libsrtp.2010.vcxproj">\r
       <Project>{eef031cb-fed8-451e-a471-91ec8d4f6750}</Project>\r
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
index 5ca8d194188efe3ec6d0fc1a5f06c388e3767e4e..54afa463127ebe51a3b38cb4451d45e45b0a5b35 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>\r
+<?xml version="1.0" encoding="utf-8"?>\r
 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
   <ItemGroup Label="ProjectConfigurations">\r
     <ProjectConfiguration Include="Debug|Win32">\r
@@ -838,6 +838,9 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs
       <Project>{03207781-0d1c-4db3-a71d-45c608f28dbd}</Project>\r
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
     </ProjectReference>\r
+    <ProjectReference Include="..\..\libs\speex\win32\VS2012\libspeex\libspeex.vcxproj">\r
+      <Project>{e972c52f-9e85-4d65-b19c-031e511e9db4}</Project>\r
+    </ProjectReference>\r
     <ProjectReference Include="..\..\libs\srtp\libsrtp.2012.vcxproj">\r
       <Project>{eef031cb-fed8-451e-a471-91ec8d4f6750}</Project>\r
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
@@ -888,4 +891,4 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
   <ImportGroup Label="ExtensionTargets">\r
   </ImportGroup>\r
-</Project>\r
+</Project>
\ No newline at end of file