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:
authorCampbell Barton <ideasman42@gmail.com>2011-12-31 07:01:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-31 07:01:18 +0400
commit65c74f1570b845ea3be9fc17bec2655392ca38f8 (patch)
tree99a01970ce33e2520ff2b874a30d02cc818e2550 /source/blender/blenloader/BLO_sys_types.h
parent1d152c77a52e01913f2c448d194611ec76ab7c74 (diff)
workaround for error building with clang and quiet some warnings building without libmv.
Diffstat (limited to 'source/blender/blenloader/BLO_sys_types.h')
-rw-r--r--source/blender/blenloader/BLO_sys_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/BLO_sys_types.h b/source/blender/blenloader/BLO_sys_types.h
index 800ae834b59..20d211a74c1 100644
--- a/source/blender/blenloader/BLO_sys_types.h
+++ b/source/blender/blenloader/BLO_sys_types.h
@@ -87,7 +87,8 @@ typedef unsigned long uintptr_t;
#include <stdint.h>
/* XXX */
-#ifndef uint64_t
+#ifndef UINT64_MAX
+# define UINT64_MAX 18446744073709551615
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;