Browse Source

generic M_PI define

Originally committed as revision 1418 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Fabrice Bellard 23 years ago
parent
commit
c4d82fea54
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      libavcodec/common.h

+ 4
- 3
libavcodec/common.h View File

@@ -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 @@ typedef INT64 int64_t;
# 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


Loading…
Cancel
Save