Bugfix for non-compiling on msvc and mingw (reported by Matt)

This commit is contained in:
Daniel Genrich 2008-08-12 09:36:51 +00:00
parent 1d87a596e4
commit 5a310fe8e1
2 changed files with 10 additions and 0 deletions

@ -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