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