From: Michael Jerris Date: Tue, 7 Mar 2006 06:18:46 +0000 (+0000) Subject: win32 mods. X-Git-Tag: v1.0-beta1~3099 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bbe672f071df2de744807fbe64b7430b5d2af3d;p=thirdparty%2Ffreeswitch.git win32 mods. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@778 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/codec/g726/libg726.vcproj b/libs/codec/g726/libg726.vcproj new file mode 100644 index 0000000000..b590766aa8 --- /dev/null +++ b/libs/codec/g726/libg726.vcproj @@ -0,0 +1,193 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/libs/codec/g726/src/g72x.c b/libs/codec/g726/src/g72x.c index e13b872b30..51dc09a9c1 100644 --- a/libs/codec/g726/src/g72x.c +++ b/libs/codec/g726/src/g72x.c @@ -47,6 +47,10 @@ static int power2[15] = {1, 2, 4, 8, 0x10, 0x20, 0x40, 0x80, 0x100, 0x200, 0x400, 0x800, 0x1000, 0x2000, 0x4000}; +#ifndef abs +#define abs(n) ((n)<0 ? -(n) : (n)) +#endif + /* * quan() *