Mercurial > libavcodec.hg
diff common.h @ 976:c3758b2e59a1 libavcodec
generic M_PI define
| author | bellard |
|---|---|
| date | Tue, 07 Jan 2003 22:38:25 +0000 |
| parents | d3fc77a6d57e |
| children | 7701ff462e3a |
line wrap: on
line diff
--- a/common.h Tue Jan 07 18:15:48 2003 +0000 +++ b/common.h Tue Jan 07 22:38:25 2003 +0000 @@ -33,6 +33,10 @@ # define ENODATA 61 # endif +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + #endif /* HAVE_AV_CONFIG_H */ /* Suppress restrict if it was not defined in config.h. */ @@ -79,9 +83,6 @@ # define UINT64_C(c) (c ## ULL) # endif /* __MINGW32__ */ -# define M_PI 3.14159265358979323846 -# define M_SQRT2 1.41421356237309504880 /* sqrt(2) */ - # ifdef _DEBUG # define DEBUG # endif
