Solaris had a problem finding finite so had to conditionally

#include <ieeefp.h>

Kent
This commit is contained in:
Kent Mein 2007-11-29 16:42:36 +00:00
parent 6649ba74d6
commit 8cea2a9582
3 changed files with 13 additions and 0 deletions

@ -13,6 +13,11 @@
#include <algorithm>
#include <stdio.h>
#if !defined(linux) && (defined (__sparc) || defined (__sparc__))
#include <ieeefp.h>
#endif
// just use default rounding for platforms where its not available
#ifndef round
#define round(x) (x)

@ -11,6 +11,9 @@
#include "solver_relax.h"
#include "particletracer.h"
#if !defined(linux) && (defined (__sparc) || defined (__sparc__))
#include <ieeefp.h>
#endif
/*****************************************************************************/

@ -13,6 +13,11 @@
#include "loop_tools.h"
#include <stdlib.h>
#if !defined(linux) && (defined (__sparc) || defined (__sparc__))
#include <ieeefp.h>
#endif
/*****************************************************************************/
/*! perform a single LBM step */
/*****************************************************************************/