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