PR other/54620
PR target/39064 * md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if stdint.h and sys/types.h headers are present. * sha1.h (sha1_uintptr, sha1_uint32): Likewise.
This commit is contained in:
		| @@ -1,3 +1,11 @@ | |||||||
|  | 2013-01-30  Kai Tietz  <ktietz@redhat.com> | ||||||
|  |  | ||||||
|  | 	PR other/54620 | ||||||
|  | 	PR target/39064 | ||||||
|  | 	* md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if | ||||||
|  | 	stdint.h and sys/types.h headers are present. | ||||||
|  | 	* sha1.h (sha1_uintptr, sha1_uint32): Likewise. | ||||||
|  |  | ||||||
| 2013-01-10  Will Newton <will.newton@imgtec.com> | 2013-01-10  Will Newton <will.newton@imgtec.com> | ||||||
|  |  | ||||||
| 	* dis-asm.h (print_insn_metag): New declaration. | 	* dis-asm.h (print_insn_metag): New declaration. | ||||||
|   | |||||||
| @@ -40,6 +40,11 @@ | |||||||
| # include <sys/types.h> | # include <sys/types.h> | ||||||
| typedef u_int32_t md5_uint32; | typedef u_int32_t md5_uint32; | ||||||
| typedef uintptr_t md5_uintptr; | typedef uintptr_t md5_uintptr; | ||||||
|  | #elif defined (HAVE_SYS_TYPES_H) && defined (HAVE_STDINT_H) | ||||||
|  | #include <stdint.h> | ||||||
|  | #include <sys/types.h> | ||||||
|  | typedef uint32_t md5_uint32; | ||||||
|  | typedef uintptr_t md5_uintptr; | ||||||
| #else | #else | ||||||
| #  define INT_MAX_32_BITS 2147483647 | #  define INT_MAX_32_BITS 2147483647 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -39,6 +39,11 @@ | |||||||
| # include <sys/types.h> | # include <sys/types.h> | ||||||
| typedef u_int32_t sha1_uint32; | typedef u_int32_t sha1_uint32; | ||||||
| typedef uintptr_t sha1_uintptr; | typedef uintptr_t sha1_uintptr; | ||||||
|  | #elif defined (HAVE_SYS_TYPES_H) && defined (HAVE_STDINT_H) | ||||||
|  | #include <stdint.h> | ||||||
|  | #include <sys/types.h> | ||||||
|  | typedef uint32_t sha1_uint32; | ||||||
|  | typedef uintptr_t sha1_uintptr; | ||||||
| #else | #else | ||||||
| #  define INT_MAX_32_BITS 2147483647 | #  define INT_MAX_32_BITS 2147483647 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user