1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- /*
- ********************************************************************************
- *
- * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001
- * R99 Version 3.3.0
- * REL-4 Version 4.1.0
- *
- ********************************************************************************
- *
- * File : typedef.c
- * Purpose : Basic types.
- *
- ********************************************************************************
- */
- #ifndef typedef_h
- #define typedef_h "$Id $"
- #undef ORIGINAL_TYPEDEF_H /* define to get "original" ETSI version
- of typedef.h */
- #ifdef ORIGINAL_TYPEDEF_H
- /*
- * this is the original code from the ETSI file typedef.h
- */
- #if defined(__BORLANDC__) || defined(__WATCOMC__) || defined(_MSC_VER) || defined(__ZTC__)
- typedef signed char Word8;
- typedef short Word16;
- typedef long Word32;
- typedef int Flag;
- #elif defined(__sun)
- typedef signed char Word8;
- typedef short Word16;
- typedef long Word32;
- typedef int Flag;
- #elif defined(__unix__) || defined(__unix)
- typedef signed char Word8;
- typedef short Word16;
- typedef int Word32;
- typedef int Flag;
- #endif
- #else /* not original typedef.h */
- /*
- * use (improved) type definition file typdefs.h and add a "Flag" type
- */
- #include "typedefs.h"
- typedef int Flag;
- #endif
- #include "mallocSw.h"//if no this file,just include stdlib.h if system supported
- #endif
|