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

Side by Side Diff: base/third_party/dmg_fp/gcc_64_bit.patch

Issue 159541: Change for building dtoa on 64-bit. (Closed)
Patch Set: patch Created 11 years, 4 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 unified diff | Download patch
« no previous file with comments | « base/third_party/dmg_fp/dtoa.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: dtoa.cc
2 --- dtoa.cc (old copy)
3 +++ dtoa.cc (working copy)
4 @@ -183,8 +183,12 @@
5 #define NO_HEX_FP
6
7 #ifndef Long
8 +#if __LP64__
9 +#define Long int
10 +#else
11 #define Long long
12 #endif
13 +#endif
14 #ifndef ULong
15 typedef unsigned Long ULong;
16 #endif
17 @@ -221,7 +225,7 @@ extern void *MALLOC(size_t);
18 #ifndef PRIVATE_MEM
19 #define PRIVATE_MEM 2304
20 #endif
21 -#define PRIVATE_mem ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))
22 +#define PRIVATE_mem ((unsigned)((PRIVATE_MEM+sizeof(double)-1)/sizeof(double)))
23 static double private_mem[PRIVATE_mem], *pmem_next = private_mem;
24 #endif
25
OLDNEW
« no previous file with comments | « base/third_party/dmg_fp/dtoa.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698