From: Michael Jerris Date: Fri, 10 Mar 2006 08:48:47 +0000 (+0000) Subject: msvc build tweak X-Git-Tag: v1.0-beta1~3052 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c99fa6025430ef166a1b29f2c3def4a3f3534fe;p=thirdparty%2Ffreeswitch.git msvc build tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@832 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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.