summaryrefslogtreecommitdiffstats
path: root/thirdparties/android/common/include/g729b/typedef.h
blob: 9a12d4206810d6ef5f8d326efb458931ad661385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
   ITU-T G.729A Speech Coder    ANSI-C Source Code
   Version 1.1    Last modified: September 1996

   Copyright (c) 1996,
   AT&T, France Telecom, NTT, Universite de Sherbrooke, Lucent Technologies
   All rights reserved.
*/

/* WARNING: Make sure that the proper flags are defined for your system */

/*
   Types definitions
*/

#if defined(__BORLANDC__) || defined (__WATCOMC__) || defined(_MSC_VER) || defined(__ZTC__) || defined(__HIGHC__)
typedef  long  int   Word32   ;
typedef  short int   Word16   ;
typedef  short int   Flag  ;
#elif defined( __sun)
typedef short  Word16;
typedef long  Word32;
typedef int   Flag;
#elif defined(__unix__) || defined(__unix)
typedef short Word16;
typedef int   Word32;
typedef int   Flag;
#elif defined(VMS) || defined(__VMS)
typedef short  Word16;
typedef long  Word32;
typedef int   Flag;
#else
#error  COMPILER NOT TESTED typedef.h needs to be updated, see readme
#endif



#if defined(_MSC_VER)
#	define G729_INLINE	__forceinline
#elif defined(__GNUC__) && !defined(__APPLE__)
#	define G729_INLINE	__inline
#else
#	define G729_INLINE	
#endif

#if ANDROID || TARGET_OS_EMBEDDED || defined(_WIN32_WCE)
#	define G729_ARM 1
#else
#	define G729_ARM 0
#endif
OpenPOWER on IntegriCloud