Only intptr_t is protected by __intptr_t_defined.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67018 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Headers/stdint.h b/lib/Headers/stdint.h
index 12546d8..6e39dfa 100644
--- a/lib/Headers/stdint.h
+++ b/lib/Headers/stdint.h
@@ -72,9 +72,9 @@
*/
#ifndef __intptr_t_defined
typedef __INTPTR_TYPE__ intptr_t;
-typedef unsigned __INTPTR_TYPE__ uintptr_t;
#define __intptr_t_defined
#endif
+typedef unsigned __INTPTR_TYPE__ uintptr_t;
/* C99 7.18.1.5 Greatest-width integer types.
*/