| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2007-2008 the V8 project authors. All rights reserved. | 2 * Copyright 2007-2008 the V8 project authors. All rights reserved. |
| 3 * Redistribution and use in source and binary forms, with or without | 3 * Redistribution and use in source and binary forms, with or without |
| 4 * modification, are permitted provided that the following conditions are | 4 * modification, are permitted provided that the following conditions are |
| 5 * met: | 5 * met: |
| 6 * | 6 * |
| 7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * * Redistributions in binary form must reproduce the above | 9 * * Redistributions in binary form must reproduce the above |
| 10 * copyright notice, this list of conditions and the following | 10 * copyright notice, this list of conditions and the following |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 /* For MinGW, turn on __NO_ISOCEXT so that its strtod doesn't get added */ | 78 /* For MinGW, turn on __NO_ISOCEXT so that its strtod doesn't get added */ |
| 79 #ifdef __MINGW32__ | 79 #ifdef __MINGW32__ |
| 80 #define __NO_ISOCEXT | 80 #define __NO_ISOCEXT |
| 81 #endif /* __MINGW32__ */ | 81 #endif /* __MINGW32__ */ |
| 82 | 82 |
| 83 /* On 64-bit systems, we need to make sure that a Long is only 32 bits. */ | 83 /* On 64-bit systems, we need to make sure that a Long is only 32 bits. */ |
| 84 #ifdef V8_TARGET_ARCH_X64 | 84 #ifdef V8_TARGET_ARCH_X64 |
| 85 #define Long int | 85 #define Long int |
| 86 #endif /* V8_TARGET_ARCH_X64 */ | 86 #endif /* V8_TARGET_ARCH_X64 */ |
| 87 | 87 |
| 88 /* Definitions for dtoa's ACQUIRE_DTOA_LOCK and FREE_DTOA_LOCK are in |
| 89 * conversions.cc. */ |
| 90 #define MULTIPLE_THREADS |
| 91 |
| 88 /* Make sure we use the David M. Gay version of strtod(). On Linux, we | 92 /* Make sure we use the David M. Gay version of strtod(). On Linux, we |
| 89 * cannot use the same name (maybe the function does not have weak | 93 * cannot use the same name (maybe the function does not have weak |
| 90 * linkage?). */ | 94 * linkage?). */ |
| 91 #define strtod gay_strtod | 95 #define strtod gay_strtod |
| 92 #include "third_party/dtoa/dtoa.c" | 96 #include "third_party/dtoa/dtoa.c" |
| OLD | NEW |