From 52ca2db74db8d74836241d34687b9fd620e64655 Mon Sep 17 00:00:00 2001 From: WangXinXin Date: Fri, 15 Jan 2016 13:36:03 +0800 Subject: [PATCH] Update tdav_codec_g729.h Add defination of Word16 --- tinyDAV/include/tinydav/codecs/g729/tdav_codec_g729.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tinyDAV/include/tinydav/codecs/g729/tdav_codec_g729.h b/tinyDAV/include/tinydav/codecs/g729/tdav_codec_g729.h index 3b4ec0508..183b4e188 100755 --- a/tinyDAV/include/tinydav/codecs/g729/tdav_codec_g729.h +++ b/tinyDAV/include/tinydav/codecs/g729/tdav_codec_g729.h @@ -39,6 +39,17 @@ #include "g729b/typedef.h" #include "g729b/ld8a.h" +#if defined(__BORLANDC__) || defined (__WATCOMC__) || defined(_MSC_VER) || defined(__ZTC__) || defined(__HIGHC__) +typedef short int Word16 ; +#elif defined( __sun) +typedef short Word16; +#elif defined(__unix__) || defined(__unix) +typedef short Word16; +#elif defined(VMS) || defined(__VMS) +typedef short Word16; +#else +#error COMPILER NOT TESTED +#endif TDAV_BEGIN_DECLS