| OLD | NEW |
| 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 // OS_NACL (NACL_SFI or NACL_NONSFI) / OS_NACL_SFI / OS_NACL_NONSFI | 8 // OS_NACL (NACL_SFI or NACL_NONSFI) / OS_NACL_SFI / OS_NACL_NONSFI |
| 9 // Compiler: | 9 // Compiler: |
| 10 // COMPILER_MSVC / COMPILER_GCC | 10 // COMPILER_MSVC / COMPILER_GCC |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #elif defined(__linux__) | 41 #elif defined(__linux__) |
| 42 #define OS_LINUX 1 | 42 #define OS_LINUX 1 |
| 43 // include a system header to pull in features.h for glibc/uclibc macros. | 43 // include a system header to pull in features.h for glibc/uclibc macros. |
| 44 #include <unistd.h> | 44 #include <unistd.h> |
| 45 #if defined(__GLIBC__) && !defined(__UCLIBC__) | 45 #if defined(__GLIBC__) && !defined(__UCLIBC__) |
| 46 // we really are using glibc, not uClibc pretending to be glibc | 46 // we really are using glibc, not uClibc pretending to be glibc |
| 47 #define LIBC_GLIBC 1 | 47 #define LIBC_GLIBC 1 |
| 48 #endif | 48 #endif |
| 49 #elif defined(_WIN32) | 49 #elif defined(_WIN32) |
| 50 #define OS_WIN 1 | 50 #define OS_WIN 1 |
| 51 #define TOOLKIT_VIEWS 1 | |
| 52 #elif defined(__FreeBSD__) | 51 #elif defined(__FreeBSD__) |
| 53 #define OS_FREEBSD 1 | 52 #define OS_FREEBSD 1 |
| 54 #elif defined(__NetBSD__) | 53 #elif defined(__NetBSD__) |
| 55 #define OS_NETBSD 1 | 54 #define OS_NETBSD 1 |
| 56 #elif defined(__OpenBSD__) | 55 #elif defined(__OpenBSD__) |
| 57 #define OS_OPENBSD 1 | 56 #define OS_OPENBSD 1 |
| 58 #elif defined(__sun) | 57 #elif defined(__sun) |
| 59 #define OS_SOLARIS 1 | 58 #define OS_SOLARIS 1 |
| 60 #elif defined(__QNXNTO__) | 59 #elif defined(__QNXNTO__) |
| 61 #define OS_QNX 1 | 60 #define OS_QNX 1 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 #if defined(OS_ANDROID) | 186 #if defined(OS_ANDROID) |
| 188 // The compiler thinks std::string::const_iterator and "const char*" are | 187 // The compiler thinks std::string::const_iterator and "const char*" are |
| 189 // equivalent types. | 188 // equivalent types. |
| 190 #define STD_STRING_ITERATOR_IS_CHAR_POINTER | 189 #define STD_STRING_ITERATOR_IS_CHAR_POINTER |
| 191 // The compiler thinks base::string16::const_iterator and "char16*" are | 190 // The compiler thinks base::string16::const_iterator and "char16*" are |
| 192 // equivalent types. | 191 // equivalent types. |
| 193 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER | 192 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER |
| 194 #endif | 193 #endif |
| 195 | 194 |
| 196 #endif // BUILD_BUILD_CONFIG_H_ | 195 #endif // BUILD_BUILD_CONFIG_H_ |
| OLD | NEW |