Making sure there's no exported symbol with a speex_ prefix when compiling
[speexdsp.git] / tmv / speex_config_types.h
1 #ifndef __SPEEX_TYPES_H__\r
2 #define __SPEEX_TYPES_H__\r
3 \r
4 #ifdef __TCS__\r
5 \r
6 #include <tmNxTypes.h>\r
7 \r
8 \r
9 \r
10 typedef Int16                   spx_int16_t;\r
11 typedef UInt16                  spx_uint16_t;\r
12 typedef Int32                   spx_int32_t;\r
13 typedef UInt32                  spx_uint32_t;\r
14 \r
15 #ifdef FIXED_POINT\r
16 #define VMUX(a,b,c)             mux((a),(b),(c))\r
17 #define VABS(a)                 iabs((a))\r
18 #define VMAX(a,b)               imax((a),(b))\r
19 #define VMIN(a,b)               imin((a),(b))\r
20 #else\r
21 #define VMUX(a,b,c)             fmux((a),(b),(c))\r
22 #define VABS(a)                 fabs((a))\r
23 #define VMAX(a,b)               fmax((a),(b))\r
24 #define VMIN(a,b)               fmin((a),(b))\r
25 #endif\r
26 \r
27 #endif\r
28 \r
29 \r
30 #endif\r
31 \r