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

Side by Side Diff: build/build_config.h

Issue 113321: Stubs out OSExchangeData for views on gtk. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « app/os_exchange_data_win_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_drag_data.cc » ('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:
11 // ARCH_CPU_X86 / ARCH_CPU_X86_64 / ARCH_CPU_X86_FAMILY (X86 or X86_64) 11 // ARCH_CPU_X86 / ARCH_CPU_X86_64 / ARCH_CPU_X86_FAMILY (X86 or X86_64)
12 // ARCH_CPU_32_BITS / ARCH_CPU_64_BITS 12 // ARCH_CPU_32_BITS / ARCH_CPU_64_BITS
13 13
14 #ifndef BUILD_BUILD_CONFIG_H_ 14 #ifndef BUILD_BUILD_CONFIG_H_
15 #define BUILD_BUILD_CONFIG_H_ 15 #define BUILD_BUILD_CONFIG_H_
16 16
17 // A set of macros to use for platform detection. 17 // A set of macros to use for platform detection.
18 #if defined(__APPLE__) 18 #if defined(__APPLE__)
19 #define OS_MACOSX 1 19 #define OS_MACOSX 1
20 #elif defined(__linux__) 20 #elif defined(__linux__)
21 #define OS_LINUX 1 21 #define OS_LINUX 1
22 // Use TOOLKIT_GTK on linux if TOOLKIT_VIEWS isn't defined. 22 // Use TOOLKIT_GTK on linux if TOOLKIT_VIEWS isn't defined.
23 #if !defined(TOOLKIT_VIEWS) 23 #if !defined(TOOLKIT_VIEWS)
24 #define TOOLKIT_GTK 24 #define TOOLKIT_GTK
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 #else 29 #else
29 #error Please add support for your platform in build/build_config.h 30 #error Please add support for your platform in build/build_config.h
30 #endif 31 #endif
31 32
32 // For access to standard POSIX features, use OS_POSIX instead of a more 33 // For access to standard POSIX features, use OS_POSIX instead of a more
33 // specific macro. 34 // specific macro.
34 #if defined(OS_MACOSX) || defined(OS_LINUX) 35 #if defined(OS_MACOSX) || defined(OS_LINUX)
35 #define OS_POSIX 1 36 #define OS_POSIX 1
36 #endif 37 #endif
37 38
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #define WCHAR_T_IS_UTF16 71 #define WCHAR_T_IS_UTF16
71 #elif defined(OS_POSIX) && defined(COMPILER_GCC) && \ 72 #elif defined(OS_POSIX) && defined(COMPILER_GCC) && \
72 defined(__WCHAR_MAX__) && \ 73 defined(__WCHAR_MAX__) && \
73 (__WCHAR_MAX__ == 0x7fffffff || __WCHAR_MAX__ == 0xffffffff) 74 (__WCHAR_MAX__ == 0x7fffffff || __WCHAR_MAX__ == 0xffffffff)
74 #define WCHAR_T_IS_UTF32 75 #define WCHAR_T_IS_UTF32
75 #else 76 #else
76 #error Please add support for your compiler in build/build_config.h 77 #error Please add support for your compiler in build/build_config.h
77 #endif 78 #endif
78 79
79 #endif // BUILD_BUILD_CONFIG_H_ 80 #endif // BUILD_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « app/os_exchange_data_win_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_drag_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698