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

Side by Side Diff: third_party/WebKit/Source/wtf/build_config.h

Issue 2386843002: reflow comments in wtf (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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 | « third_party/WebKit/Source/wtf/WTF.cpp ('k') | third_party/WebKit/Source/wtf/dtoa.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 (C) 2004, 2005, 2006, 2013 Apple Inc. 2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * Copyright (C) 2007-2009 Torch Mobile, Inc. 4 * Copyright (C) 2007-2009 Torch Mobile, Inc.
5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. 5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details. 15 * Library General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Library General Public License 17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to 18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA. 20 * Boston, MA 02110-1301, USA.
21 * 21 *
22 */ 22 */
23 23
24 #ifndef WTF_build_config_h 24 #ifndef WTF_build_config_h
25 #define WTF_build_config_h 25 #define WTF_build_config_h
26 26
27 #include "build/build_config.h" 27 #include "build/build_config.h"
28 #include "wtf/Compiler.h" 28 #include "wtf/Compiler.h"
29 29
30 /* ==== Platform adaptation macros: these describe properties of the target envi ronment. ==== */ 30 /* ==== Platform adaptation macros: these describe properties of the target
31 * environment. ==== */
31 32
32 /* HAVE() - specific system features (headers, functions or similar) that are pr esent or not */ 33 /* HAVE() - specific system features (headers, functions or similar) that are
34 * present or not */
33 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE) 35 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE)
34 /* OS() - underlying operating system; only to be used for mandated low-level se rvices like 36 /* OS() - underlying operating system; only to be used for mandated low-level
37 services like
35 virtual memory, not to choose a GUI toolkit */ 38 virtual memory, not to choose a GUI toolkit */
36 #define OS(WTF_FEATURE) (defined OS_##WTF_FEATURE && OS_##WTF_FEATURE) 39 #define OS(WTF_FEATURE) (defined OS_##WTF_FEATURE && OS_##WTF_FEATURE)
37 40
38 /* ==== Policy decision macros: these define policy choices for a particular por t. ==== */ 41 /* ==== Policy decision macros: these define policy choices for a particular
42 * port. ==== */
39 43
40 /* USE() - use a particular third-party library or optional OS service */ 44 /* USE() - use a particular third-party library or optional OS service */
41 #define USE(WTF_FEATURE) \ 45 #define USE(WTF_FEATURE) \
42 (defined WTF_USE_##WTF_FEATURE && WTF_USE_##WTF_FEATURE) 46 (defined WTF_USE_##WTF_FEATURE && WTF_USE_##WTF_FEATURE)
43 /* ENABLE() - turn on a specific feature of WebKit */ 47 /* ENABLE() - turn on a specific feature of WebKit */
44 #define ENABLE(WTF_FEATURE) \ 48 #define ENABLE(WTF_FEATURE) \
45 (defined ENABLE_##WTF_FEATURE && ENABLE_##WTF_FEATURE) 49 (defined ENABLE_##WTF_FEATURE && ENABLE_##WTF_FEATURE)
46 50
47 /* There is an assumption in the project that either OS(WIN) or OS(POSIX) is set . */ 51 /* There is an assumption in the project that either OS(WIN) or OS(POSIX) is
52 * set. */
48 #if !OS(WIN) && !OS(POSIX) 53 #if !OS(WIN) && !OS(POSIX)
49 #error Either OS(WIN) or OS(POSIX) needs to be set. 54 #error Either OS(WIN) or OS(POSIX) needs to be set.
50 #endif 55 #endif
51 56
52 #endif // WTF_build_config_h 57 #endif // WTF_build_config_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/WTF.cpp ('k') | third_party/WebKit/Source/wtf/dtoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698