diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-24 07:03:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-24 07:03:42 +0400 |
commit | eb3beca8d4a1c5073992d3f8a30d4e87e4f29430 (patch) | |
tree | 8275091de7d0d5e509c2df5e5716440043b40e42 /intern | |
parent | 33bd38ebc74f42694f063fd7937d7b457a141727 (diff) |
replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/guardedalloc/MEM_sys_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/intern/guardedalloc/MEM_sys_types.h b/intern/guardedalloc/MEM_sys_types.h index 345df5b16cf..01ddddb73a0 100644 --- a/intern/guardedalloc/MEM_sys_types.h +++ b/intern/guardedalloc/MEM_sys_types.h @@ -93,6 +93,14 @@ typedef unsigned long uintptr_t; /* Linux-i386, Linux-Alpha, Linux-ppc */ #include <stdint.h> +/* XXX */ +#ifndef uint64_t +typedef uint8_t u_int8_t; +typedef uint16_t u_int16_t; +typedef uint32_t u_int32_t; +typedef uint64_t u_int64_t; +#endif + #elif defined (__APPLE__) #include <inttypes.h> |