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

Side by Side Diff: build/build_config.h

Issue 15405003: add a macro that really identifies glibc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nitpick fixup Created 7 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
« no previous file with comments | « base/process_util_linux.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 16 matching lines...) Expand all
27 #define OS_IOS 1 27 #define OS_IOS 1
28 #endif // defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE 28 #endif // defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
29 #elif defined(__native_client__) 29 #elif defined(__native_client__)
30 #define OS_NACL 1 30 #define OS_NACL 1
31 #elif defined(__linux__) 31 #elif defined(__linux__)
32 #define OS_LINUX 1 32 #define OS_LINUX 1
33 // Use TOOLKIT_GTK on linux if TOOLKIT_VIEWS isn't defined. 33 // Use TOOLKIT_GTK on linux if TOOLKIT_VIEWS isn't defined.
34 #if !defined(TOOLKIT_VIEWS) && defined(USE_X11) 34 #if !defined(TOOLKIT_VIEWS) && defined(USE_X11)
35 #define TOOLKIT_GTK 35 #define TOOLKIT_GTK
36 #endif 36 #endif
37 #if defined(__GLIBC__) && !defined(__UCLIBC__)
38 // we really are using glibc, not uClibc pretending to be glibc
39 #define LIBC_GLIBC
40 #endif
37 #elif defined(_WIN32) 41 #elif defined(_WIN32)
38 #define OS_WIN 1 42 #define OS_WIN 1
39 #define TOOLKIT_VIEWS 1 43 #define TOOLKIT_VIEWS 1
40 #elif defined(__FreeBSD__) 44 #elif defined(__FreeBSD__)
41 #define OS_FREEBSD 1 45 #define OS_FREEBSD 1
42 #define TOOLKIT_GTK 46 #define TOOLKIT_GTK
43 #elif defined(__OpenBSD__) 47 #elif defined(__OpenBSD__)
44 #define OS_OPENBSD 1 48 #define OS_OPENBSD 1
45 #define TOOLKIT_GTK 49 #define TOOLKIT_GTK
46 #elif defined(__sun) 50 #elif defined(__sun)
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 #if defined(OS_ANDROID) 145 #if defined(OS_ANDROID)
142 // The compiler thinks std::string::const_iterator and "const char*" are 146 // The compiler thinks std::string::const_iterator and "const char*" are
143 // equivalent types. 147 // equivalent types.
144 #define STD_STRING_ITERATOR_IS_CHAR_POINTER 148 #define STD_STRING_ITERATOR_IS_CHAR_POINTER
145 // The compiler thinks base::string16::const_iterator and "char16*" are 149 // The compiler thinks base::string16::const_iterator and "char16*" are
146 // equivalent types. 150 // equivalent types.
147 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER 151 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER
148 #endif 152 #endif
149 153
150 #endif // BUILD_BUILD_CONFIG_H_ 154 #endif // BUILD_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « base/process_util_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698