Record error when CreateDir fails.
[chromium-blink-merge.git] / base / third_party / dmg_fp / gcc_64_bit.patch
blobab943c08ee6434eddb9474e1dbb152401729838b
1 Index: dtoa.cc
2 --- dtoa.cc (old copy)
3 +++ dtoa.cc (working copy)
4 @@ -183,8 +183,12 @@
5 #define NO_HEX_FP
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