[xiph-cvs] cvs commit: vorbis-tools/oggenc resample.c

Michael Smith msmith at xiph.org
Sat Jun 22 23:52:57 PDT 2002



msmith      02/06/22 23:52:57

  Modified:    oggenc   resample.c
  Log:
  Define M_PI if the system doesn't.

Revision  Changes    Path
1.3       +4 -0      vorbis-tools/oggenc/resample.c

Index: resample.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/resample.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- resample.c	2002/06/02 03:47:27	1.2
+++ resample.c	2002/06/23 06:52:56	1.3
@@ -8,6 +8,10 @@
 
 #include "resample.h"
 
+/* Some systems don't define this */
+#ifndef M_PI
+#define M_PI       3.14159265358979323846 
+#endif
 
 static int hcf(int arg1, int arg2)
 {

<p><p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list