comparison spandsp-0.0.6pre17/src/msvc/tgmath.h @ 4:26cd8f1ef0b1

import spandsp-0.0.6pre17
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 15:50:58 +0200
parents
children
comparison
equal deleted inserted replaced
3:c6c5a16ce2f2 4:26cd8f1ef0b1
1 /*
2 * SpanDSP - a series of DSP components for telephony
3 *
4 * tgmath.h - a fudge for MSVC, which lacks this header
5 *
6 * Written by Steve Underwood <steveu@coppice.org>
7 *
8 * Copyright (C) 2006 Michael Jerris
9 *
10 *
11 * This file is released in the public domain.
12 *
13 */
14
15 #if !defined(_TGMATH_H_)
16 #define _TGMATH_H_
17
18 #include <math.h>
19
20 #if !defined(M_PI)
21 /* C99 systems may not define M_PI */
22 #define M_PI 3.14159265358979323846264338327
23 #endif
24
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.