mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-15 03:19:41 +00:00
add m_pi define if not found
This commit is contained in:
parent
4d92b4e98e
commit
96432965c4
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@
|
||||||
#pragma warning(disable: 4244 4267) // possible loss of data
|
#pragma warning(disable: 4244 4267) // possible loss of data
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef M_PI
|
||||||
|
#define M_PI 3.14159265358979323846
|
||||||
|
#endif
|
||||||
|
|
||||||
struct wav_header {
|
struct wav_header {
|
||||||
char riff[4] = {'R', 'I', 'F', 'F'};
|
char riff[4] = {'R', 'I', 'F', 'F'};
|
||||||
uint32_t chunk_size;
|
uint32_t chunk_size;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue