mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
numerous fixes to msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@199 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -158,3 +158,12 @@ struct timeval switch_tvsub(struct timeval a, struct timeval b)
|
||||
}
|
||||
#undef ONE_MILLION
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
//this forces certain symbols to not be optimized out of the dll
|
||||
void include_me(void)
|
||||
{
|
||||
apr_socket_shutdown(NULL, 0);
|
||||
apr_socket_recvfrom(NULL , NULL, 0, NULL, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user