]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add tgmath.h checks.
authorMichael Jerris <mike@jerris.com>
Mon, 2 Oct 2006 01:53:37 +0000 (01:53 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 2 Oct 2006 01:53:37 +0000 (01:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2932 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/codec/g7xx/src/g722_decode.c
libs/codec/g7xx/src/g722_encode.c
libs/codec/g7xx/src/g726.c

index e57acc2acd19eaecf9169a592ddeada1584f0c13..8cf6d87439494a24fec091e36b7858b78b5a6178 100644 (file)
 #include <stdlib.h>
 #ifndef _MSC_VER
 #include <inttypes.h>
+#ifdef HAVE_TGMATH_H
 #include <tgmath.h>
 #endif
+#endif
 
 #include "g7xx/g722.h"
 
index f61feeb92a20f4fbe9cefbef1377370b9b09ccff..0a8ee6b4ae4a499348ad6878f36593e720b248ff 100644 (file)
 #include <stdlib.h>
 #ifndef _MSC_VER
 #include <inttypes.h>
+#ifdef HAVE_TGMATH_H
 #include <tgmath.h>
 #endif
+#endif
 
 #include "g7xx/g722.h"
 
index 917b8fc6a8ad35fa39372d4d8151256c4a26fce5..815e2db9a8a749d22a8fc8d230c95733321bdb43 100644 (file)
 #include <stdlib.h>
 #ifndef _MSC_VER
 #include <inttypes.h>
+#ifdef HAVE_TGMATH_H
 #include <tgmath.h>
 #endif
+#endif
 
 #include "g7xx/g711.h"
 #include "g7xx/g726.h"