diff --git a/src/switch_pcm.c b/src/switch_pcm.c index 07f51907f6..f14577e6d2 100644 --- a/src/switch_pcm.c +++ b/src/switch_pcm.c @@ -33,6 +33,10 @@ #include #include +#ifdef WIN32 +#undef SWITCH_MOD_DECLARE_DATA +#define SWITCH_MOD_DECLARE_DATA __declspec(dllexport) +#endif SWITCH_MODULE_LOAD_FUNCTION(mod_l16_load); SWITCH_MODULE_DEFINITION(mod_l16, mod_l16_load, NULL, NULL); diff --git a/w32/Library/FreeSwitchCore.2008.vcproj b/w32/Library/FreeSwitchCore.2008.vcproj index 3199221643..c0cc431434 100644 --- a/w32/Library/FreeSwitchCore.2008.vcproj +++ b/w32/Library/FreeSwitchCore.2008.vcproj @@ -204,6 +204,26 @@ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" > + + + + + + + + @@ -404,6 +424,10 @@ RelativePath="..\..\src\switch_odbc.c" > + + @@ -462,6 +486,10 @@ Filter="h;hpp;hxx;hm;inl;inc;xsd" UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" > + +