diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-25 06:42:15 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-25 06:42:15 +0000 |
commit | 5b422bc30d58aaad9d8016ea68989a5d328b8574 (patch) | |
tree | 1cb6359487146f2b8aa75b1e930aba31205c6865 /codecs/g722 | |
parent | 1b4ffa52484b48cd5af12e659ec12e32c8ebdaa8 (diff) |
provide INT16_MIN and INT16_MAX for platforms where they are not defined.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48959 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/g722')
-rw-r--r-- | codecs/g722/g722.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/codecs/g722/g722.h b/codecs/g722/g722.h index 95a9da8d0..f57b1c882 100644 --- a/codecs/g722/g722.h +++ b/codecs/g722/g722.h @@ -46,6 +46,13 @@ enum G722_PACKED = 0x0002 }; +#ifndef INT16_MAX +#define INT16_MAX 32767 +#endif +#ifndef INT16_MIN +#define INT16_MIN (-32768) +#endif + typedef struct { /*! TRUE if the operating in the special ITU test mode, with the band split filters |