Moved NAN_FLT define to BLI_math, this may come in useful.
This commit is contained in:
@@ -60,10 +60,6 @@
|
|||||||
#include "BKE_sequencer.h"
|
#include "BKE_sequencer.h"
|
||||||
#include "BKE_scene.h"
|
#include "BKE_scene.h"
|
||||||
|
|
||||||
// evil quiet NaN definition
|
|
||||||
static const int NAN_INT = 0x7FC00000;
|
|
||||||
#define NAN_FLT *((float *)(&NAN_INT))
|
|
||||||
|
|
||||||
#ifdef WITH_AUDASPACE
|
#ifdef WITH_AUDASPACE
|
||||||
// evil global ;-)
|
// evil global ;-)
|
||||||
static int sound_cfra;
|
static int sound_cfra;
|
||||||
|
@@ -80,6 +80,10 @@
|
|||||||
#define MAXFLOAT ((float)3.40282347e+38)
|
#define MAXFLOAT ((float)3.40282347e+38)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* evil quiet NaN definition */
|
||||||
|
static const int NAN_INT = 0x7FC00000;
|
||||||
|
#define NAN_FLT *((float *)(&NAN_INT))
|
||||||
|
|
||||||
/* do not redefine functions from C99 or POSIX.1-2001 */
|
/* do not redefine functions from C99 or POSIX.1-2001 */
|
||||||
#if !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L))
|
#if !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user