mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 22:08:33 +00:00
update to snapshot spandsp-20090226 plus 2 typo fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12294 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
4858722ed2
commit
71893423d0
12 files changed
+78
-46
No files matched your search
@@ -10,7 +10,7 @@
|
||||
*
|
||||
* This file is released in the public domain.
|
||||
*
|
||||
* $Id: config.h,v 1.3 2009/02/10 13:06:47 steveu Exp $
|
||||
* $Id: config.h,v 1.4 2009/02/25 15:30:21 steveu Exp $
|
||||
*/
|
||||
|
||||
#if !defined(_MSVC_CONFIG_H_)
|
||||
@@ -37,13 +37,10 @@
|
||||
|
||||
#define SPANDSP_USE_EXPORT_CAPABILITY 1
|
||||
|
||||
|
||||
#define PACKAGE "spandsp"
|
||||
#define VERSION "0.0.6"
|
||||
|
||||
|
||||
|
||||
// Win32/DevStudio compatibility stuff
|
||||
/* Win32/DevStudio compatibility stuff */
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
||||
@@ -83,5 +80,4 @@
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
@@ -19,7 +19,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
typedef unsigned __int8 uint8_t;
|
||||
typedef unsigned __int16 uint16_t;
|
||||
typedef unsigned __int32 uint32_t;
|
||||
@@ -28,6 +27,7 @@ typedef __int8 int8_t;
|
||||
typedef __int16 int16_t;
|
||||
typedef __int32 int32_t;
|
||||
typedef __int64 int64_t;
|
||||
|
||||
#define INT16_MAX 0x7fff
|
||||
#define INT16_MIN (-INT16_MAX - 1)
|
||||
|
||||
|
||||
@@ -33,14 +33,13 @@
|
||||
#define __inline__ __inline
|
||||
#pragma warning(disable:4200)
|
||||
|
||||
|
||||
#undef SPANDSP_USE_FIXED_POINT
|
||||
#undef SPANDSP_MISALIGNED_ACCESS_FAILS
|
||||
|
||||
#define SPANDSP_USE_EXPORT_CAPABILITY 1
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <msvc\inttypes.h>
|
||||
#include <msvc/inttypes.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <time.h>
|
||||
|
||||
@@ -12,9 +12,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
struct timeval {
|
||||
long tv_sec;
|
||||
long tv_usec;
|
||||
};
|
||||
struct timeval
|
||||
{
|
||||
long int tv_sec;
|
||||
long int tv_usec;
|
||||
};
|
||||
|
||||
extern void gettimeofday(struct timeval *tv, void *tz);
|
||||
Reference in new issue
Block a user