mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
MSVC won't compile 'const float _demolition[]' because it uses 'divide by zero' while initializing
Hopefully we can use INFINITY and NAN for the relevant initializers ?
This commit is contained in:
parent
a12288d9b5
commit
dc1a2fbca7
2 changed files with 9 additions and 4 deletions
|
|
@ -49,6 +49,10 @@
|
|||
#define INFINITY HUGE_VAL
|
||||
#endif
|
||||
|
||||
#ifndef NAN
|
||||
#define NAN _NANCODE
|
||||
#endif
|
||||
|
||||
// File access modes copied from unistd.h
|
||||
#define F_OK 0
|
||||
#define R_OK 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue