diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-10 23:37:27 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-10 23:37:27 +0000 |
commit | 00dd1704f15d77f4b5ca3694493812b8e49a8696 (patch) | |
tree | 57c12cf4eda0931613bfedd345484014eeabeb2f /codecs/lpc10/lpc10.h | |
parent | 864716935ab085c63a1d6f1bef5beae1dbc76d97 (diff) |
Lots of little fixes for doing MSVC compiling codecs in windows (#6022)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9450 f38db490-d61c-443f-a65b-d21fe96a405b
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 |