add msvc build to libteletone

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@632 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2006-02-19 21:24:29 +00:00
parent cf67dbefd4
commit 51f566fbd4
6 changed files with 206 additions and 1 deletions

View File

@@ -53,6 +53,14 @@ typedef struct {
teletone_process_t freqs[TELETONE_MAX_TONES];
} teletone_tone_map_t;
#if !defined(M_PI)
/* C99 systems may not define M_PI */
#define M_PI 3.14159265358979323846264338327
#endif
#ifdef _MSC_VER
#define int16_t __int16
#endif
#include <libteletone_generate.h>
#include <libteletone_detect.h>