forked from bartvdbraak/blender
Solaris had a problem finding finite so had to conditionally
#include <ieeefp.h> Kent
This commit is contained in:
parent
6649ba74d6
commit
8cea2a9582
@ -13,6 +13,11 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#if !defined(linux) && (defined (__sparc) || defined (__sparc__))
|
||||||
|
#include <ieeefp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// just use default rounding for platforms where its not available
|
// just use default rounding for platforms where its not available
|
||||||
#ifndef round
|
#ifndef round
|
||||||
#define round(x) (x)
|
#define round(x) (x)
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
#include "solver_relax.h"
|
#include "solver_relax.h"
|
||||||
#include "particletracer.h"
|
#include "particletracer.h"
|
||||||
|
|
||||||
|
#if !defined(linux) && (defined (__sparc) || defined (__sparc__))
|
||||||
|
#include <ieeefp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -13,6 +13,11 @@
|
|||||||
#include "loop_tools.h"
|
#include "loop_tools.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#if !defined(linux) && (defined (__sparc) || defined (__sparc__))
|
||||||
|
#include <ieeefp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/*! perform a single LBM step */
|
/*! perform a single LBM step */
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user