about summary refs log tree commit diff
path: root/sysdeps/wordsize-32/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-32/stdint.h')
-rw-r--r--sysdeps/wordsize-32/stdint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/wordsize-32/stdint.h b/sysdeps/wordsize-32/stdint.h
index c3a9e3027d..2f693e81ff 100644
--- a/sysdeps/wordsize-32/stdint.h
+++ b/sysdeps/wordsize-32/stdint.h
@@ -78,7 +78,10 @@ typedef unsigned long long int uint_fast64_t;
 
 
 /* Types for `void *' pointers.  */
+#ifndef intptr_t
 typedef int           intptr_t;
+# define intptr_t intptr_t
+#endif
 typedef unsigned int uintptr_t;