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

Side by Side Diff: Source/config.h

Issue 23566006: Get rid of OS(SOLARIS) and OS(HURD). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: git cl try Created 7 years, 3 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
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.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 /* OS(DARWIN) - Any Darwin-based OS, including Mac OS X and iPhone OS */ 50 /* OS(DARWIN) - Any Darwin-based OS, including Mac OS X and iPhone OS */
51 #ifdef __APPLE__ 51 #ifdef __APPLE__
52 #define WTF_OS_DARWIN 1 52 #define WTF_OS_DARWIN 1
53 #endif 53 #endif
54 54
55 /* OS(FREEBSD) - FreeBSD */ 55 /* OS(FREEBSD) - FreeBSD */
56 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__ ) 56 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__ )
57 #define WTF_OS_FREEBSD 1 57 #define WTF_OS_FREEBSD 1
58 #endif 58 #endif
59 59
60 /* OS(HURD) - GNU/Hurd */
61 #ifdef __GNU__
62 #define WTF_OS_HURD 1
63 #endif
64
65 /* OS(LINUX) - Linux */ 60 /* OS(LINUX) - Linux */
66 #ifdef __linux__ 61 #ifdef __linux__
67 #define WTF_OS_LINUX 1 62 #define WTF_OS_LINUX 1
68 #endif 63 #endif
69 64
70 /* OS(NETBSD) - NetBSD */ 65 /* OS(NETBSD) - NetBSD */
71 #if defined(__NetBSD__) 66 #if defined(__NetBSD__)
72 #define WTF_OS_NETBSD 1 67 #define WTF_OS_NETBSD 1
73 #endif 68 #endif
74 69
75 /* OS(OPENBSD) - OpenBSD */ 70 /* OS(OPENBSD) - OpenBSD */
76 #ifdef __OpenBSD__ 71 #ifdef __OpenBSD__
77 #define WTF_OS_OPENBSD 1 72 #define WTF_OS_OPENBSD 1
78 #endif 73 #endif
79 74
80 /* OS(SOLARIS) - Solaris */
81 #if defined(sun) || defined(__sun)
82 #define WTF_OS_SOLARIS 1
83 #endif
84
85 /* OS(WINDOWS) - Any version of Windows */ 75 /* OS(WINDOWS) - Any version of Windows */
86 #if defined(WIN32) || defined(_WIN32) 76 #if defined(WIN32) || defined(_WIN32)
87 #define WTF_OS_WINDOWS 1 77 #define WTF_OS_WINDOWS 1
88 #endif 78 #endif
89 79
90 /* OS(UNIX) - Any Unix-like system */ 80 /* OS(UNIX) - Any Unix-like system */
91 #if OS(ANDROID) \ 81 #if OS(ANDROID) \
92 || OS(DARWIN) \ 82 || OS(DARWIN) \
93 || OS(FREEBSD) \ 83 || OS(FREEBSD) \
94 || OS(HURD) \
95 || OS(LINUX) \ 84 || OS(LINUX) \
96 || OS(NETBSD) \ 85 || OS(NETBSD) \
97 || OS(OPENBSD) \ 86 || OS(OPENBSD) \
98 || OS(SOLARIS) \
99 || defined(unix) \ 87 || defined(unix) \
100 || defined(__unix) \ 88 || defined(__unix) \
101 || defined(__unix__) 89 || defined(__unix__)
102 #define WTF_OS_UNIX 1 90 #define WTF_OS_UNIX 1
103 #endif 91 #endif
104 92
105 /* Operating environments */ 93 /* Operating environments */
106 94
107 #if OS(ANDROID) 95 #if OS(ANDROID)
108 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1 96 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1
(...skipping 25 matching lines...) Expand all
134 #define HAVE_SYS_TIME_H 1 122 #define HAVE_SYS_TIME_H 1
135 #define WTF_USE_PTHREADS 1 123 #define WTF_USE_PTHREADS 1
136 #endif /* OS(UNIX) */ 124 #endif /* OS(UNIX) */
137 125
138 #if !defined(HAVE_VASPRINTF) 126 #if !defined(HAVE_VASPRINTF)
139 #if !COMPILER(MSVC) 127 #if !COMPILER(MSVC)
140 #define HAVE_VASPRINTF 1 128 #define HAVE_VASPRINTF 1
141 #endif 129 #endif
142 #endif 130 #endif
143 131
144 #if !OS(WINDOWS) && !OS(SOLARIS) && !OS(ANDROID) 132 #if !OS(WINDOWS) && !OS(ANDROID)
145 #define HAVE_TM_GMTOFF 1 133 #define HAVE_TM_GMTOFF 1
146 #define HAVE_TM_ZONE 1 134 #define HAVE_TM_ZONE 1
147 #define HAVE_TIMEGM 1 135 #define HAVE_TIMEGM 1
148 #endif 136 #endif
149 137
150 #if OS(DARWIN) 138 #if OS(DARWIN)
151 #define HAVE_DISPATCH_H 1 139 #define HAVE_DISPATCH_H 1
152 #define HAVE_PTHREAD_SETNAME_NP 1 140 #define HAVE_PTHREAD_SETNAME_NP 1
153 #endif /* OS(DARWIN) */ 141 #endif /* OS(DARWIN) */
154 142
(...skipping 24 matching lines...) Expand all
179 167
180 #if COMPILER(MSVC) 168 #if COMPILER(MSVC)
181 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1 169 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1
182 #else 170 #else
183 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 171 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1
184 #endif 172 #endif
185 173
186 #ifndef __STDC_FORMAT_MACROS 174 #ifndef __STDC_FORMAT_MACROS
187 #define __STDC_FORMAT_MACROS 1 175 #define __STDC_FORMAT_MACROS 1
188 #endif 176 #endif
OLDNEW
« no previous file with comments | « Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp ('k') | Source/core/platform/network/ResourceResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698