]> Repos - portaudio/commitdiff
paqa_devs.c: define _USE_MATH_DEFINES (#554)
authorPhil Burk <philburk@mobileer.com>
Sat, 17 Apr 2021 20:00:18 +0000 (13:00 -0700)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 20:00:18 +0000 (13:00 -0700)
before including math.h

Fixes #551

qa/paqa_devs.c

index 858ed789f41090e49421f0279dbd4a3a3d05fc79..bab571115b1e872e419e6a6dace1c12b2a646831 100644 (file)
@@ -55,6 +55,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#define _USE_MATH_DEFINES
 #include <math.h>
 #include "portaudio.h"
 #include "pa_trace.h"