mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 15:23:05 +02:00
more isnan() hacks
This commit is contained in:
parent
a3022f538d
commit
9e24996f39
2 changed files with 4 additions and 4 deletions
|
@ -26,9 +26,9 @@
|
||||||
#include "Util.h"
|
#include "Util.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
bool isnan(double value) { return _isnan(value); }
|
int isnan(double value) { return _isnan(value); }
|
||||||
#else
|
#else
|
||||||
bool isnan(double value) { return std::isnan(value); }
|
int isnan(double value) { return std::isnan(value); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
#include "PositionalAudioRingBuffer.h"
|
#include "PositionalAudioRingBuffer.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
bool isnan(double value) { return _isnan(value); }
|
int isnan(double value) { return _isnan(value); }
|
||||||
#else
|
#else
|
||||||
bool isnan(double value) { return std::isnan(value); }
|
int isnan(double value) { return std::isnan(value); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
PositionalAudioRingBuffer::PositionalAudioRingBuffer(PositionalAudioRingBuffer::Type type) :
|
PositionalAudioRingBuffer::PositionalAudioRingBuffer(PositionalAudioRingBuffer::Type type) :
|
||||||
|
|
Loading…
Reference in a new issue