diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-31 07:01:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-31 07:01:18 +0400 |
commit | 65c74f1570b845ea3be9fc17bec2655392ca38f8 (patch) | |
tree | 99a01970ce33e2520ff2b874a30d02cc818e2550 /intern/guardedalloc/MEM_sys_types.h | |
parent | 1d152c77a52e01913f2c448d194611ec76ab7c74 (diff) |
workaround for error building with clang and quiet some warnings building without libmv.
Diffstat (limited to 'intern/guardedalloc/MEM_sys_types.h')
-rw-r--r-- | intern/guardedalloc/MEM_sys_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/guardedalloc/MEM_sys_types.h b/intern/guardedalloc/MEM_sys_types.h index 01ddddb73a0..764d7c6cfa2 100644 --- a/intern/guardedalloc/MEM_sys_types.h +++ b/intern/guardedalloc/MEM_sys_types.h @@ -94,7 +94,9 @@ 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; |