diff --git a/otherarch/tts_adapter.cpp b/otherarch/tts_adapter.cpp index 92fc3ce79..a9eddd77b 100644 --- a/otherarch/tts_adapter.cpp +++ b/otherarch/tts_adapter.cpp @@ -21,6 +21,10 @@ #pragma warning(disable: 4244 4267) // possible loss of data #endif +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + struct wav_header { char riff[4] = {'R', 'I', 'F', 'F'}; uint32_t chunk_size;