[Freeswitch-svn] [commit] r7685 - in freeswitch/trunk: src w32/Library

Freeswitch SVN mikej at freeswitch.org
Mon Feb 18 17:46:02 EST 2008


Author: mikej
Date: Mon Feb 18 17:46:02 2008
New Revision: 7685

Modified:
   freeswitch/trunk/src/switch_pcm.c
   freeswitch/trunk/w32/Library/FreeSwitchCore.2008.vcproj

Log:
add pcm in core in windows build

Modified: freeswitch/trunk/src/switch_pcm.c
==============================================================================
--- freeswitch/trunk/src/switch_pcm.c	(original)
+++ freeswitch/trunk/src/switch_pcm.c	Mon Feb 18 17:46:02 2008
@@ -33,6 +33,10 @@
 #include <switch.h>
 #include <g711.h>
 
+#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);
 

Modified: freeswitch/trunk/w32/Library/FreeSwitchCore.2008.vcproj
==============================================================================
--- freeswitch/trunk/w32/Library/FreeSwitchCore.2008.vcproj	(original)
+++ freeswitch/trunk/w32/Library/FreeSwitchCore.2008.vcproj	Mon Feb 18 17:46:02 2008
@@ -205,6 +205,26 @@
 			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
 			>
 			<File
+				RelativePath="..\..\src\g711.c"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="0"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="0"
+					/>
+				</FileConfiguration>
+			</File>
+			<File
 				RelativePath="..\..\libs\stfu\stfu.c"
 				>
 				<FileConfiguration
@@ -405,6 +425,10 @@
 				>
 			</File>
 			<File
+				RelativePath="..\..\src\switch_pcm.c"
+				>
+			</File>
+			<File
 				RelativePath="..\..\src\switch_regex.c"
 				>
 			</File>
@@ -463,6 +487,10 @@
 			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
 			>
 			<File
+				RelativePath="..\..\src\include\g711.h"
+				>
+			</File>
+			<File
 				RelativePath="..\..\src\include\SimpleGlob.h"
 				>
 			</File>



More information about the Freeswitch-svn mailing list