forked from bartvdbraak/blender
Bugfix for non-compiling on msvc and mingw (reported by Matt)
This commit is contained in:
parent
1d87a596e4
commit
5a310fe8e1
@ -19,6 +19,13 @@
|
||||
#include <vector>
|
||||
#define mvmFloat double
|
||||
|
||||
#ifdef WIN32
|
||||
#ifndef FREE_WINDOWS
|
||||
#define isnan(n) _isnan(n)
|
||||
#define finite _finite
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// weight and triangle index
|
||||
class mvmIndexWeight {
|
||||
public:
|
||||
|
@ -37,6 +37,9 @@
|
||||
#ifdef WIN32
|
||||
#include "winsock2.h"
|
||||
#include "BLI_winstuff.h"
|
||||
#ifndef INT_MAX
|
||||
#include "limits.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <stdio.h> // for printf fopen fwrite fclose sprintf FILE
|
||||
|
Loading…
Reference in New Issue
Block a user