Suppress MSVC 8 warnings about crt functions.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@62 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2005-11-20 16:49:14 +00:00
parent fbf4da07ca
commit f8b4096961
1 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,15 @@
extern "C" {
#endif
#if (_MSC_VER >= 1400) // VC8+
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
#ifndef _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE
#endif
#endif // VC8+
#include <apr.h>
#include <apr_network_io.h>
#include <apr_errno.h>