]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add src/msvc/config.h
authorMichael Jerris <mike@jerris.com>
Thu, 29 Jan 2009 04:55:54 +0000 (04:55 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 29 Jan 2009 04:55:54 +0000 (04:55 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11551 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/spandsp/src/Makefile.am
libs/spandsp/src/msvc/config.h [new file with mode: 0644]

index 09eb782396a9d754a165473d50e3049a1c06d827..f635fc3b994f5d88651f3cecc97d4cb250f92bce 100644 (file)
@@ -38,6 +38,7 @@ EXTRA_DIST = floating_fudge.h \
              msvc/msvcproj.foot \
              msvc/vc8proj.head \
              msvc/vc8proj.foot \
+             msvc/config.h \
              spandsp/private/README
 
 INCLUDES = -I$(top_builddir)
diff --git a/libs/spandsp/src/msvc/config.h b/libs/spandsp/src/msvc/config.h
new file mode 100644 (file)
index 0000000..1c1e29f
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * SpanDSP - a series of DSP components for telephony
+ *
+ * inttypes.h - a fudge for MSVC, which lacks this header
+ *
+ * Written by Steve Underwood <steveu@coppice.org>
+ *
+ * Copyright (C) 2006 Michael Jerris
+ *
+ *
+ * This file is released in the public domain.
+ *
+ */
+
+#if !defined(_SPANDSP_CONFIG_H_)
+#define _SPANDSP_CONFIG_H_
+
+#define HAVE_SINF
+#define HAVE_COSF
+#define HAVE_TANF
+#define HAVE_ASINF
+#define HAVE_ACOSF
+#define HAVE_ATANF
+#define HAVE_ATAN2F
+#define HAVE_CEILF
+#define HAVE_FLOORF
+#define HAVE_POWF
+#define HAVE_EXPF
+#define HAVE_LOGF
+#define HAVE_LOG10F
+#define HAVE_MATH_H
+#define HAVE_TGMATH_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif