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

Side by Side Diff: build/build_config.h

Issue 652166: Solaris: various edits towards compiling Chromium on Solaris. Changed __Solar... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « base/third_party/nspr/prcpucfg.h ('k') | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file adds defines about the platform we're currently building on. 5 // This file adds defines about the platform we're currently building on.
6 // Operating System: 6 // Operating System:
7 // OS_WIN / OS_MACOSX / OS_LINUX / OS_POSIX (MACOSX or LINUX) 7 // OS_WIN / OS_MACOSX / OS_LINUX / OS_POSIX (MACOSX or LINUX)
8 // Compiler: 8 // Compiler:
9 // COMPILER_MSVC / COMPILER_GCC 9 // COMPILER_MSVC / COMPILER_GCC
10 // Processor: 10 // Processor:
(...skipping 14 matching lines...) Expand all
25 #endif 25 #endif
26 #elif defined(_WIN32) 26 #elif defined(_WIN32)
27 #define OS_WIN 1 27 #define OS_WIN 1
28 #define TOOLKIT_VIEWS 1 28 #define TOOLKIT_VIEWS 1
29 #elif defined(__FreeBSD__) 29 #elif defined(__FreeBSD__)
30 #define OS_FREEBSD 1 30 #define OS_FREEBSD 1
31 #define TOOLKIT_GTK 31 #define TOOLKIT_GTK
32 #elif defined(__OpenBSD__) 32 #elif defined(__OpenBSD__)
33 #define OS_OPENBSD 1 33 #define OS_OPENBSD 1
34 #define TOOLKIT_GTK 34 #define TOOLKIT_GTK
35 #elif defined(__Solaris__) 35 #elif defined(__sun)
36 #define OS_SOLARIS 1 36 #define OS_SOLARIS 1
37 #define TOOLKIT_GTK 37 #define TOOLKIT_GTK
38 #else 38 #else
39 #error Please add support for your platform in build/build_config.h 39 #error Please add support for your platform in build/build_config.h
40 #endif 40 #endif
41 41
42 // A flag derived from the above flags, used to cover GTK code in 42 // A flag derived from the above flags, used to cover GTK code in
43 // both TOOLKIT_GTK and TOOLKIT_VIEWS. 43 // both TOOLKIT_GTK and TOOLKIT_VIEWS.
44 #if defined(TOOLKIT_GTK) || (defined(TOOLKIT_VIEWS) && !defined(OS_WIN)) 44 #if defined(TOOLKIT_GTK) || (defined(TOOLKIT_VIEWS) && !defined(OS_WIN))
45 #define TOOLKIT_USES_GTK 1 45 #define TOOLKIT_USES_GTK 1
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // On Posix, we'll detect short wchar_t, but projects aren't guaranteed to 113 // On Posix, we'll detect short wchar_t, but projects aren't guaranteed to
114 // compile in this mode (in particular, Chrome doesn't). This is intended for 114 // compile in this mode (in particular, Chrome doesn't). This is intended for
115 // other projects using base who manage their own dependencies and make sure 115 // other projects using base who manage their own dependencies and make sure
116 // short wchar works for them. 116 // short wchar works for them.
117 #define WCHAR_T_IS_UTF16 117 #define WCHAR_T_IS_UTF16
118 #else 118 #else
119 #error Please add support for your compiler in build/build_config.h 119 #error Please add support for your compiler in build/build_config.h
120 #endif 120 #endif
121 121
122 #endif // BUILD_BUILD_CONFIG_H_ 122 #endif // BUILD_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « base/third_party/nspr/prcpucfg.h ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698