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

Side by Side Diff: Source/WTF/config.h

Issue 14238015: Move Source/WTF/wtf to Source/wtf (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 *
20 */
21
22 #include <wtf/Platform.h>
23 #include <wtf/ExportMacros.h>
24
25 #if OS(WINDOWS)
26
27 #ifndef _WIN32_WINNT
28 #define _WIN32_WINNT 0x0502
29 #endif
30
31 #ifndef WINVER
32 #define WINVER 0x0502
33 #endif
34
35 // If we don't define these, they get defined in windef.h.
36 // We want to use std::min and std::max
37 #define max max
38 #define min min
39
40 #if !COMPILER(MSVC7_OR_LOWER) && !OS(WINCE)
41 // We need to define this before the first #include of stdlib.h or it won't cont ain rand_s.
42 #ifndef _CRT_RAND_S
43 #define _CRT_RAND_S
44 #endif
45 #endif
46
47 #endif
48
49 #define WTF_CHANGES 1
50
51 #ifdef __cplusplus
52 #undef new
53 #undef delete
54 #include <wtf/FastMalloc.h>
55 #endif
56
57 #if COMPILER(MSVC)
58 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1
59 #else
60 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1
61 #endif
OLDNEW
« no previous file with comments | « Source/WTF/WTF.gyp/WTF.gyp ('k') | Source/WTF/wtf/ASCIICType.h » ('j') | Source/config.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698