00001 /* 00002 * SpanDSP - a series of DSP components for telephony 00003 * 00004 * tgmath.h - a fudge for MSVC, which lacks this header 00005 * 00006 * Written by Steve Underwood <steveu@coppice.org> 00007 * 00008 * Copyright (C) 2006 Michael Jerris 00009 * 00010 * 00011 * This file is released in the public domain. 00012 * 00013 */ 00014 00015 #if !defined(_TGMATH_H_) 00016 #define _TGMATH_H_ 00017 00018 #include <math.h> 00019 00020 #if !defined(M_PI) 00021 /* C99 systems may not define M_PI */ 00022 #define M_PI 3.14159265358979323846264338327 00023 #endif 00024 00025 00026 #ifdef __cplusplus 00027 extern "C" { 00028 #endif 00029 00030 #ifdef __cplusplus 00031 } 00032 #endif 00033 00034 #endif