]> granicus.if.org Git - clang/commitdiff
Only intptr_t is protected by __intptr_t_defined.
authorDaniel Dunbar <daniel@zuster.org>
Sun, 15 Mar 2009 03:16:47 +0000 (03:16 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 15 Mar 2009 03:16:47 +0000 (03:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67018 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/stdint.h

index 12546d8921c3f6cfa1052b6321a774e95de0167b..6e39dfa7498be32b2947571f8f97587b1e88a5b4 100644 (file)
@@ -72,9 +72,9 @@ typedef uint64_t uint_fast64_t;
  */
 #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.
  */