forked from bartvdbraak/blender
parent
627c6178f9
commit
558d7499a6
@ -13,6 +13,10 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#ifdef sun
|
||||||
|
#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)
|
||||||
|
@ -27,6 +27,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef sun
|
||||||
|
#include "ieeefp.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// weight and triangle index
|
// weight and triangle index
|
||||||
class mvmIndexWeight {
|
class mvmIndexWeight {
|
||||||
public:
|
public:
|
||||||
|
@ -100,6 +100,7 @@
|
|||||||
|
|
||||||
// sirdude fix for solaris
|
// sirdude fix for solaris
|
||||||
#if !defined(linux) && defined(sun)
|
#if !defined(linux) && defined(sun)
|
||||||
|
#include "ieeefp.h"
|
||||||
#ifndef expf
|
#ifndef expf
|
||||||
#define expf(x) exp((double)(x))
|
#define expf(x) exp((double)(x))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user