diff options
author | Matthew Fredrickson <creslin@digium.com> | 2006-02-10 23:37:27 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2006-02-10 23:37:27 +0000 |
commit | 4f803dfda0ea9b498b887f8ba28fd5b1ba9dbc04 (patch) | |
tree | 57c12cf4eda0931613bfedd345484014eeabeb2f /codecs/lpc10/lpc10.h | |
parent | c344781c4bba6d7cb00aeaeb7348ab6228f2f771 (diff) |
Lots of little fixes for doing MSVC compiling codecs in windows (#6022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/lpc10/lpc10.h')
-rw-r--r-- | codecs/lpc10/lpc10.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/codecs/lpc10/lpc10.h b/codecs/lpc10/lpc10.h index 99c64c624..db7c25ad9 100644 --- a/codecs/lpc10/lpc10.h +++ b/codecs/lpc10/lpc10.h @@ -46,18 +46,24 @@ Add broken lpc10 code... It's not too far from working I don't think... #if defined(unix) || defined(__unix__) || defined(__NetBSD__) typedef short INT16; -typedef int INT32; +typedef int INT32; #endif #if defined(__MSDOS__) || defined(MSDOS) -typedef int INT16; +typedef int INT16; typedef long INT32; #endif #if defined(__APPLE__) typedef short INT16; -typedef int INT32; +typedef int INT32; +#endif + +#if defined(WIN32) && defined(_MSC_VER) +typedef __int16 INT16; +typedef __int32 INT32; +#pragma warning(disable: 4005) #endif |