From 0c99fa6025430ef166a1b29f2c3def4a3f3534fe Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 10 Mar 2006 08:48:47 +0000 Subject: [PATCH] msvc build tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@832 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_platform.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/include/switch_platform.h b/src/include/switch_platform.h index 093ada3772..763dcc278a 100644 --- a/src/include/switch_platform.h +++ b/src/include/switch_platform.h @@ -39,6 +39,11 @@ extern "C" { #endif #ifdef _MSC_VER + +#ifndef FREESWITCHCORE_EXPORTS +#pragma comment(lib, "FreeSwitchCore.lib") +#endif + /* disable the following warnings * C4152: non standard extension, function/data ptr conversion in expression * C4054: A function pointer is cast (possibly incorrectly) to a data pointer.