[xiph-cvs] cvs commit: speex/libspeex quant_lsp.c

Ed oddsock at xiph.org
Fri Feb 6 06:20:29 PST 2004



oddsock     04/02/06 09:20:29

  Modified:    libspeex quant_lsp.c
  Log:
  M_PI not defined on win32 (and possibly other platforms)

Revision  Changes    Path
1.35      +4 -0      speex/libspeex/quant_lsp.c

Index: quant_lsp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/quant_lsp.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- quant_lsp.c	5 Dec 2003 14:59:48 -0000	1.34
+++ quant_lsp.c	6 Feb 2004 14:20:27 -0000	1.35
@@ -32,6 +32,10 @@
 
 #include "quant_lsp.h"
 #include <math.h>
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
 
 #include "misc.h"
 

<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