merge more build stuff for shout and flite. (FSBUILD-62 and FSBUILD-63)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9161 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2008-07-24 08:54:06 +00:00
parent 53a2d1917c
commit aee8661385
10 changed files with 127 additions and 8 deletions

View File

@@ -24,6 +24,22 @@
#include <sys/types.h>
#ifdef WIN32
#include <os.h>
# ifdef _MSC_VER
# undef inline
# define inline __inline
#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+
# endif
#ifndef __MINGW32__
#define va_copy(ap1, ap2) memcpy(&ap1, &ap2, sizeof(va_list))
#endif
#endif
#define SHOUTERR_SUCCESS (0)