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:
authorDamien Plisson <damien.plisson@yahoo.fr>2010-02-09 14:01:31 +0300
committerDamien Plisson <damien.plisson@yahoo.fr>2010-02-09 14:01:31 +0300
commit945a126170137073b4930e53c016a674601232d6 (patch)
tree378f85fa4db7c726f318c0224501862b6d42a410 /source/blender/blenlib
parent720d26f4b0551510594270a975b2ce8a533cd66a (diff)
Warning fixes
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/BLI_kdtree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/BLI_kdtree.c b/source/blender/blenlib/intern/BLI_kdtree.c
index abf61bfb734..997a3b1d043 100644
--- a/source/blender/blenlib/intern/BLI_kdtree.c
+++ b/source/blender/blenlib/intern/BLI_kdtree.c
@@ -37,7 +37,9 @@
#include "BLI_math.h"
#include "BLI_kdtree.h"
+#ifndef SWAP
#define SWAP(type, a, b) { type sw_ap; sw_ap=(a); (a)=(b); (b)=sw_ap; }
+#endif
typedef struct KDTreeNode {
struct KDTreeNode *left, *right;