about summary refs log tree commit diff
path: root/stdlib/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/stdint.h')
-rw-r--r--stdlib/stdint.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/stdlib/stdint.h b/stdlib/stdint.h
index 2df07e485b..391e3d2500 100644
--- a/stdlib/stdint.h
+++ b/stdlib/stdint.h
@@ -82,20 +82,11 @@ typedef unsigned long long int	uint_fast64_t;
 
 
 /* Types for `void *' pointers.  */
-#if __WORDSIZE == 64
 # ifndef __intptr_t_defined
-typedef long int		intptr_t;
+typedef __intptr_t		intptr_t;
 #  define __intptr_t_defined
 # endif
-typedef unsigned long int	uintptr_t;
-#else
-# ifndef __intptr_t_defined
-typedef int			intptr_t;
-#  define __intptr_t_defined
-# endif
-typedef unsigned int		uintptr_t;
-#endif
-
+typedef __uintptr_t		uintptr_t;
 
 /* Largest integral types.  */
 typedef __intmax_t		intmax_t;