diff options
author | Kent Mein <mein@cs.umn.edu> | 2009-12-17 20:42:26 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2009-12-17 20:42:26 +0300 |
commit | fcaad00bda20244a49e85175b2a6bc1b8c131c54 (patch) | |
tree | ae99e243cae434b8310c9442f443c1ef2b5771b2 /source/blender/render/intern | |
parent | a1b8f1695840313d08db5863a4d16fb64e951f43 (diff) |
Some fixes to get blender compiling on solaris.
Kent
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/raytrace/reorganize.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/render/intern/raytrace/reorganize.h b/source/blender/render/intern/raytrace/reorganize.h index 2d4a4d15fe2..7b14108760a 100644 --- a/source/blender/render/intern/raytrace/reorganize.h +++ b/source/blender/render/intern/raytrace/reorganize.h @@ -39,6 +39,10 @@ extern int tot_pushup; extern int tot_pushdown; +#if !defined(INFINITY) && defined(HUGE_VAL) +#define INFINITY HUGE_VAL +#endif + template<class Node> bool node_fits_inside(Node *a, Node *b) { |