summaryrefslogtreecommitdiff
path: root/sysdeps/generic/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/stdint.h')
-rw-r--r--sysdeps/generic/stdint.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/generic/stdint.h b/sysdeps/generic/stdint.h
index ed34451391..a0d1c64901 100644
--- a/sysdeps/generic/stdint.h
+++ b/sysdeps/generic/stdint.h
@@ -114,15 +114,15 @@ typedef unsigned long long int uint_fast64_t;
/* Types for `void *' pointers. */
#if __WORDSIZE == 64
-# ifndef intptr_t
+# ifndef __intptr_t_defined
typedef long int intptr_t;
-# define intptr_t intptr_t
+# define __intptr_t_defined
# endif
typedef unsigned long int uintptr_t;
#else
-# ifndef intptr_t
+# ifndef __intptr_t_defined
typedef int intptr_t;
-# define intptr_t intptr_t
+# define __intptr_t_defined
# endif
typedef unsigned int uintptr_t;
#endif