Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2761)

Unified Diff: base/basictypes.h

Issue 6723016: Use #if defined(__LP64__) in preference to #if __LP64__ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/basictypes.h
===================================================================
--- base/basictypes.h (revision 79069)
+++ base/basictypes.h (working copy)
@@ -32,7 +32,7 @@
//
// On Mac OS X, |long long| is used for 64-bit types for compatibility with
// <inttypes.h> format macros even in the LP64 model.
-#if __LP64__ && !defined(OS_MACOSX)
+#if defined(__LP64__) && !defined(OS_MACOSX)
typedef long int64;
#else
typedef long long int64;
@@ -54,7 +54,7 @@
#endif
// See the comment above about NSPR and 64-bit.
-#if __LP64__ && !defined(OS_MACOSX)
+#if defined(__LP64__) && !defined(OS_MACOSX)
typedef unsigned long uint64;
#else
typedef unsigned long long uint64;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698