Skip to content

Commit 9643296

Browse files
committed
add m_pi define if not found
1 parent 4d92b4e commit 9643296

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

otherarch/tts_adapter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
#pragma warning(disable: 4244 4267) // possible loss of data
2222
#endif
2323

24+
#ifndef M_PI
25+
#define M_PI 3.14159265358979323846
26+
#endif
27+
2428
struct wav_header {
2529
char riff[4] = {'R', 'I', 'F', 'F'};
2630
uint32_t chunk_size;

0 commit comments

Comments
 (0)