[Freeswitch-svn] [commit] r2932 - freeswitch/trunk/libs/codec/g7xx/src

Freeswitch SVN mikej at freeswitch.org
Sun Oct 1 21:53:38 EDT 2006


Author: mikej
Date: Sun Oct  1 21:53:37 2006
New Revision: 2932

Modified:
   freeswitch/trunk/libs/codec/g7xx/src/g722_decode.c
   freeswitch/trunk/libs/codec/g7xx/src/g722_encode.c
   freeswitch/trunk/libs/codec/g7xx/src/g726.c

Log:
add tgmath.h checks.

Modified: freeswitch/trunk/libs/codec/g7xx/src/g722_decode.c
==============================================================================
--- freeswitch/trunk/libs/codec/g7xx/src/g722_decode.c	(original)
+++ freeswitch/trunk/libs/codec/g7xx/src/g722_decode.c	Sun Oct  1 21:53:37 2006
@@ -32,7 +32,9 @@
 #include <stdlib.h>
 #ifndef _MSC_VER
 #include <inttypes.h>
+#ifdef HAVE_TGMATH_H
 #include <tgmath.h>
+#endif
 #endif
 
 #include "g7xx/g722.h"

Modified: freeswitch/trunk/libs/codec/g7xx/src/g722_encode.c
==============================================================================
--- freeswitch/trunk/libs/codec/g7xx/src/g722_encode.c	(original)
+++ freeswitch/trunk/libs/codec/g7xx/src/g722_encode.c	Sun Oct  1 21:53:37 2006
@@ -34,7 +34,9 @@
 #include <stdlib.h>
 #ifndef _MSC_VER
 #include <inttypes.h>
+#ifdef HAVE_TGMATH_H
 #include <tgmath.h>
+#endif
 #endif
 
 #include "g7xx/g722.h"

Modified: freeswitch/trunk/libs/codec/g7xx/src/g726.c
==============================================================================
--- freeswitch/trunk/libs/codec/g7xx/src/g726.c	(original)
+++ freeswitch/trunk/libs/codec/g7xx/src/g726.c	Sun Oct  1 21:53:37 2006
@@ -54,7 +54,9 @@
 #include <stdlib.h>
 #ifndef _MSC_VER
 #include <inttypes.h>
+#ifdef HAVE_TGMATH_H
 #include <tgmath.h>
+#endif
 #endif
 
 #include "g7xx/g711.h"



More information about the Freeswitch-svn mailing list