From 6ba96a7913125b0d4988e30cbeac7f29fff52186 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 30 Mar 2007 01:22:45 +0000 Subject: [PATCH] spring cleaning on msvc build. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4801 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libteletone/src/libteletone.h | 2 +- src/include/switch_platform.h | 5 ++ w32/Library/FreeSwitchCore.vcproj | 116 +++++++++++++++++++++++++++++ 3 files changed, 122 insertions(+), 1 deletion(-) diff --git a/libs/libteletone/src/libteletone.h b/libs/libteletone/src/libteletone.h index c1815d70aa..c7f20e63e3 100644 --- a/libs/libteletone/src/libteletone.h +++ b/libs/libteletone/src/libteletone.h @@ -59,7 +59,7 @@ typedef struct { #endif #ifdef _MSC_VER -#define int16_t __int16 +typedef __int16 int16_t; #endif #include diff --git a/src/include/switch_platform.h b/src/include/switch_platform.h index f8a50ad7d3..4fe95c8f68 100644 --- a/src/include/switch_platform.h +++ b/src/include/switch_platform.h @@ -58,6 +58,11 @@ SWITCH_BEGIN_EXTERN_C * C4610: struct can never be instantiated - user defined constructor required */ #pragma warning(disable:4100 4200 4204 4706 4819 4132 4510 4512 4610 4996) + +#pragma include_alias(, <../../libs/libteletone/src/libteletone.h>) +#pragma include_alias(, <../../libs/libteletone/src/libteletone_generate.h>) +#pragma include_alias(, <../../libs/libteletone/src/libteletone_detect.h>) + #if (_MSC_VER >= 1400) // VC8+ #ifndef _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE diff --git a/w32/Library/FreeSwitchCore.vcproj b/w32/Library/FreeSwitchCore.vcproj index d45c4c084d..7b78b1af93 100644 --- a/w32/Library/FreeSwitchCore.vcproj +++ b/w32/Library/FreeSwitchCore.vcproj @@ -247,10 +247,74 @@ RelativePath="..\..\src\switch_core.c" > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -259,6 +323,26 @@ RelativePath="..\..\src\switch_ivr.c" > + + + + + + + + + + @@ -279,6 +363,10 @@ RelativePath="..\..\src\switch_rtp.c" > + + @@ -305,6 +393,10 @@ RelativePath="..\..\src\include\switch_apr.h" > + + @@ -317,6 +409,10 @@ RelativePath="..\..\src\include\switch_channel.h" > + + @@ -325,10 +421,18 @@ RelativePath="..\..\src\include\switch_core.h" > + + + + @@ -369,6 +473,14 @@ RelativePath="..\..\src\include\switch_rtp.h" > + + + + @@ -381,6 +493,10 @@ RelativePath="..\..\src\include\switch_utils.h" > + +