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

Side by Side Diff: src/dtoa-config.c

Issue 18309: Support for building V8 with MinGW. This patch is from gdschaefer. In additio... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « src/cpu-ia32.cc ('k') | src/globals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 * __declspec(dllimport) to gay_strtod, which causes the compilation of 68 * __declspec(dllimport) to gay_strtod, which causes the compilation of
69 * gay_strtod in dtoa.c to fail. 69 * gay_strtod in dtoa.c to fail.
70 */ 70 */
71 #if defined(WIN32) && defined(_DLL) 71 #if defined(WIN32) && defined(_DLL)
72 #include "stdlib.h" 72 #include "stdlib.h"
73 #endif 73 #endif
74 74
75 /* Make sure we use the David M. Gay version of strtod(). On Linux, we 75 /* Make sure we use the David M. Gay version of strtod(). On Linux, we
76 * cannot use the same name (maybe the function does not have weak 76 * cannot use the same name (maybe the function does not have weak
77 * linkage?). */ 77 * linkage?). */
78 /* For MinGW, turn on __NO_ISOCEXT so that its strtod doesn't get added */
79 #ifdef __MINGW32__
80 #define __NO_ISOCEXT
81 #endif /* __MINGW32__ */
78 #define strtod gay_strtod 82 #define strtod gay_strtod
79 #include "third_party/dtoa/dtoa.c" 83 #include "third_party/dtoa/dtoa.c"
OLDNEW
« no previous file with comments | « src/cpu-ia32.cc ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698