From bfd1a5a9dc2949ebd9efbcad098f74201ce1e569 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Fri, 14 Feb 2014 18:38:54 -0600 Subject: [PATCH] fix core speex for recent commit --- src/switch_speex.c | 4 ++++ w32/Library/FreeSwitchCore.2010.vcxproj | 3 +++ w32/Library/FreeSwitchCore.2012.vcxproj | 7 +++++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/switch_speex.c b/src/switch_speex.c index 6bd23f3b2a..99a46f97e6 100644 --- a/src/switch_speex.c +++ b/src/switch_speex.c @@ -35,6 +35,10 @@ #include #include +#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); diff --git a/w32/Library/FreeSwitchCore.2010.vcxproj b/w32/Library/FreeSwitchCore.2010.vcxproj index e72bdf4531..227381f06d 100644 --- a/w32/Library/FreeSwitchCore.2010.vcxproj +++ b/w32/Library/FreeSwitchCore.2010.vcxproj @@ -816,6 +816,9 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs {03207781-0d1c-4db3-a71d-45c608f28dbd} false + + {e972c52f-9e85-4d65-b19c-031e511e9db4} + {eef031cb-fed8-451e-a471-91ec8d4f6750} false diff --git a/w32/Library/FreeSwitchCore.2012.vcxproj b/w32/Library/FreeSwitchCore.2012.vcxproj index 5ca8d19418..54afa46312 100644 --- a/w32/Library/FreeSwitchCore.2012.vcxproj +++ b/w32/Library/FreeSwitchCore.2012.vcxproj @@ -1,4 +1,4 @@ - + @@ -838,6 +838,9 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs {03207781-0d1c-4db3-a71d-45c608f28dbd} false + + {e972c52f-9e85-4d65-b19c-031e511e9db4} + {eef031cb-fed8-451e-a471-91ec8d4f6750} false @@ -888,4 +891,4 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs - + \ No newline at end of file