workaround for error building with clang and quiet some warnings building without libmv.

This commit is contained in:
Campbell Barton
2011-12-31 03:01:18 +00:00
parent 1d152c77a5
commit 65c74f1570
3 changed files with 8 additions and 3 deletions

View File

@@ -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;