projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libfdt: Fix redefined uintptr_t warning for USE_HOSTCC
[platform/kernel/u-boot.git]
/
include
/
libfdt_env.h
diff --git
a/include/libfdt_env.h
b/include/libfdt_env.h
index
355ebf2
..
ea474a5
100644
(file)
--- a/
include/libfdt_env.h
+++ b/
include/libfdt_env.h
@@
-47,6
+47,7
@@
extern struct fdt_header *working_fdt; /* Pointer to the working fdt */
#define cpu_to_fdt64(x) (x)
#endif
+#ifndef USE_HOSTCC
/*
* Types for `void *' pointers.
*
@@
-58,5
+59,6
@@
typedef unsigned long int uintptr_t;
#else
typedef unsigned int uintptr_t;
#endif
+#endif /* not USE_HOSTCC */
#endif /* _LIBFDT_ENV_H */