aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-02-10 06:18:19 +0000
committerAnders Carlsson <andersca@mac.com>2009-02-10 06:18:19 +0000
commit6c90919188344201174811b858b8aa385d8503d7 (patch)
treeefa69ea0a218caf8eb0ceeabbec3d8955d1dbffd
parentfa1f756f88f4e6f3da2673082fdc1e8f54bccd6f (diff)
Fix an #ifndef that should be an #ifdef instead.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64206 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Headers/stdint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Headers/stdint.h b/lib/Headers/stdint.h
index 8841ed06e5..3eb72bb57b 100644
--- a/lib/Headers/stdint.h
+++ b/lib/Headers/stdint.h
@@ -216,8 +216,8 @@ typedef __UINTMAX_TYPE__ uintmax_t;
#define INT32_C(v) (v)
#define UINT32_C(v) (v##U)
-/* If we do not have 64-bit support, don't define the 64-bit size macros. */
-#ifndef __INT64_TYPE__
+/* Only define the 64-bit size macros if we have 64-bit support. */
+#ifdef __INT64_TYPE__
#define INT64_C(v) (v##LL)
#define UINT64_C(v) (v##ULL)
#endif