]> granicus.if.org Git - clang/commitdiff
Fix an #ifndef that should be an #ifdef instead.
authorAnders Carlsson <andersca@mac.com>
Tue, 10 Feb 2009 06:18:19 +0000 (06:18 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 10 Feb 2009 06:18:19 +0000 (06:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64206 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/stdint.h

index 8841ed06e59f612c32da59e407f76c641805e953..3eb72bb57b56aceb8f7c11c6fbbde0e92951b64f 100644 (file)
@@ -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