Skip to content

Commit

Permalink
Resolve build error C2065: 'M_PI': undeclared identifier`
Browse files Browse the repository at this point in the history
See xiph#49 for details
  • Loading branch information
Dutchman101 committed Jun 22, 2024
1 parent dbd421d commit 1a5ca4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libspeexdsp/testresample2.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@
POSSIBILITY OF SUCH DAMAGE.
*/

#define _USE_MATH_DEFINES
#include <math.h>

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "speex/speex_resampler.h"
#include <stdio.h>
#include <math.h>
#include <stdlib.h>

#define PERIOD 32
Expand Down

0 comments on commit 1a5ca4e

Please sign in to comment.