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

Side by Side Diff: Source/config.h

Issue 23600014: Rename OS(UNIX) to OS(POSIX) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « no previous file | Source/core/inspector/InspectorOverlay.cpp » ('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.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 /* OS(OPENBSD) - OpenBSD */ 74 /* OS(OPENBSD) - OpenBSD */
75 #ifdef __OpenBSD__ 75 #ifdef __OpenBSD__
76 #define WTF_OS_OPENBSD 1 76 #define WTF_OS_OPENBSD 1
77 #endif 77 #endif
78 78
79 /* OS(WIN) - Any version of Windows */ 79 /* OS(WIN) - Any version of Windows */
80 #if defined(WIN32) || defined(_WIN32) 80 #if defined(WIN32) || defined(_WIN32)
81 #define WTF_OS_WIN 1 81 #define WTF_OS_WIN 1
82 #endif 82 #endif
83 83
84 /* OS(UNIX) - Any Unix-like system */ 84 /* OS(POSIX) - Any Unix-like system */
85 #if OS(ANDROID) \ 85 #if OS(ANDROID) \
86 || OS(MACOSX) \ 86 || OS(MACOSX) \
87 || OS(FREEBSD) \ 87 || OS(FREEBSD) \
88 || OS(LINUX) \ 88 || OS(LINUX) \
89 || OS(NETBSD) \ 89 || OS(NETBSD) \
90 || OS(OPENBSD) \ 90 || OS(OPENBSD) \
91 || defined(unix) \ 91 || defined(unix) \
92 || defined(__unix) \ 92 || defined(__unix) \
93 || defined(__unix__) 93 || defined(__unix__)
94 #define WTF_OS_UNIX 1 94 #define WTF_OS_POSIX 1
95 #endif 95 #endif
96 96
97 /* Operating environments */ 97 /* Operating environments */
98 98
99 #if OS(ANDROID) 99 #if OS(ANDROID)
100 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1 100 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1
101 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1 101 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1
102 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1 102 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1
103 #else 103 #else
104 #define WTF_USE_ICCJPEG 1 104 #define WTF_USE_ICCJPEG 1
105 #define WTF_USE_QCMSLIB 1 105 #define WTF_USE_QCMSLIB 1
106 #endif 106 #endif
107 107
108 #if OS(MACOSX) 108 #if OS(MACOSX)
109 #define WTF_USE_CF 1 109 #define WTF_USE_CF 1
110 110
111 /* We can't override the global operator new and delete on OS(MACOSX) because 111 /* We can't override the global operator new and delete on OS(MACOSX) because
112 * some object are allocated by WebKit and deallocated by the embedder. */ 112 * some object are allocated by WebKit and deallocated by the embedder. */
113 #else /* !OS(MACOSX) */ 113 #else /* !OS(MACOSX) */
114 /* On non-OS(MACOSX), the "system malloc" is actually TCMalloc anyway, so there' s 114 /* On non-OS(MACOSX), the "system malloc" is actually TCMalloc anyway, so there' s
115 * no need to use WebKit's copy of TCMalloc. */ 115 * no need to use WebKit's copy of TCMalloc. */
116 #define WTF_USE_SYSTEM_MALLOC 1 116 #define WTF_USE_SYSTEM_MALLOC 1
117 #endif /* OS(MACOSX) */ 117 #endif /* OS(MACOSX) */
118 118
119 #if !defined(HAVE_ACCESSIBILITY) 119 #if !defined(HAVE_ACCESSIBILITY)
120 #define HAVE_ACCESSIBILITY 1 120 #define HAVE_ACCESSIBILITY 1
121 #endif /* !defined(HAVE_ACCESSIBILITY) */ 121 #endif /* !defined(HAVE_ACCESSIBILITY) */
122 122
123 #if OS(UNIX) 123 #if OS(POSIX)
124 #define HAVE_MMAP 1 124 #define HAVE_MMAP 1
125 #define HAVE_SIGNAL_H 1 125 #define HAVE_SIGNAL_H 1
126 #define HAVE_SYS_TIME_H 1 126 #define HAVE_SYS_TIME_H 1
127 #define WTF_USE_PTHREADS 1 127 #define WTF_USE_PTHREADS 1
128 #endif /* OS(UNIX) */ 128 #endif /* OS(POSIX) */
129 129
130 #if !defined(HAVE_VASPRINTF) 130 #if !defined(HAVE_VASPRINTF)
131 #if !COMPILER(MSVC) 131 #if !COMPILER(MSVC)
132 #define HAVE_VASPRINTF 1 132 #define HAVE_VASPRINTF 1
133 #endif 133 #endif
134 #endif 134 #endif
135 135
136 #if !OS(WIN) && !OS(ANDROID) 136 #if !OS(WIN) && !OS(ANDROID)
137 #define HAVE_TM_GMTOFF 1 137 #define HAVE_TM_GMTOFF 1
138 #define HAVE_TM_ZONE 1 138 #define HAVE_TM_ZONE 1
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 175 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1
176 #endif 176 #endif
177 177
178 #ifndef __STDC_FORMAT_MACROS 178 #ifndef __STDC_FORMAT_MACROS
179 #define __STDC_FORMAT_MACROS 1 179 #define __STDC_FORMAT_MACROS 1
180 #endif 180 #endif
181 181
182 #if OS(LINUX) || OS(ANDROID) 182 #if OS(LINUX) || OS(ANDROID)
183 #define WTF_USE_HARFBUZZ 1 183 #define WTF_USE_HARFBUZZ 1
184 #endif 184 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698