[cfe-commits] r64206 - /cfe/trunk/lib/Headers/stdint.h
Anders Carlsson
andersca at mac.com
Mon Feb 9 22:18:19 PST 2009
Author: andersca
Date: Tue Feb 10 00:18:19 2009
New Revision: 64206
URL: http://llvm.org/viewvc/llvm-project?rev=64206&view=rev
Log:
Fix an #ifndef that should be an #ifdef instead.
Modified:
cfe/trunk/lib/Headers/stdint.h
Modified: cfe/trunk/lib/Headers/stdint.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/stdint.h?rev=64206&r1=64205&r2=64206&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/stdint.h (original)
+++ cfe/trunk/lib/Headers/stdint.h Tue Feb 10 00:18:19 2009
@@ -216,8 +216,8 @@
#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
More information about the cfe-commits
mailing list