-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathtypedef.h
More file actions
58 lines (50 loc) · 1.45 KB
/
Copy pathtypedef.h
File metadata and controls
58 lines (50 loc) · 1.45 KB
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
51
52
53
54
55
56
57
58
/*
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;
#elif defined(__APPLE__)
# if __LP64__
typedef signed int Word32;
# else
typedef signed long Word32;
# endif
typedef short int Word16 ;
typedef short 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