Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2012-04-16 14:22:28 +0400
committerThomas Dinges <blender@dingto.org>2012-04-16 14:22:28 +0400
commit0150e01993636cf967b757b5493d525abb16502c (patch)
tree8f906dc47e20a4840b06c7bbfbd805613ce1224b /intern/dualcon
parenta72076a2da906916875f6f73535c37434c85cbbc (diff)
And another fix for r45669 to have dualcon compile on windows...
Diffstat (limited to 'intern/dualcon')
-rw-r--r--intern/dualcon/intern/dualcon_c_api.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/dualcon/intern/dualcon_c_api.cpp b/intern/dualcon/intern/dualcon_c_api.cpp
index 6f04922bb94..af5ada71146 100644
--- a/intern/dualcon/intern/dualcon_c_api.cpp
+++ b/intern/dualcon/intern/dualcon_c_api.cpp
@@ -26,6 +26,11 @@
#include "octree.h"
#include <cstdio>
+#include <float.h>
+
+#if defined(_WIN32) && !defined(__MINGW32__)
+#define isnan(n) _isnan(n)
+#endif
void veccopy(float dst[3], const float src[3])
{