Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 64 #endif | 64 #endif |
| 65 | 65 |
| 66 #ifndef CLANG_PRAGMA | 66 #ifndef CLANG_PRAGMA |
| 67 #define CLANG_PRAGMA(PRAGMA) | 67 #define CLANG_PRAGMA(PRAGMA) |
| 68 #endif | 68 #endif |
| 69 | 69 |
| 70 /* COMPILER(MSVC) - Microsoft Visual C++ */ | 70 /* COMPILER(MSVC) - Microsoft Visual C++ */ |
| 71 #if defined(_MSC_VER) | 71 #if defined(_MSC_VER) |
| 72 #define WTF_COMPILER_MSVC 1 | 72 #define WTF_COMPILER_MSVC 1 |
| 73 | 73 |
| 74 /* When using ICU with Visual Studio 2010, stdint.h must be included before umac hine.h. */ | |
| 75 #if _MSC_VER == 1600 | |
| 76 #include <stdint.h> | |
| 77 #endif | |
|
abarth-chromium
2013/10/12 21:16:46
This seems like an odd place to put this code. Th
bungeman-chromium
2013/10/13 14:40:25
Yes, this would be much better.
| |
| 78 | |
| 74 /* Specific compiler features */ | 79 /* Specific compiler features */ |
| 75 #if !COMPILER(CLANG) && _MSC_VER >= 1600 | 80 #if !COMPILER(CLANG) && _MSC_VER >= 1600 |
| 76 #define WTF_COMPILER_SUPPORTS_CXX_NULLPTR 1 | 81 #define WTF_COMPILER_SUPPORTS_CXX_NULLPTR 1 |
| 77 #endif | 82 #endif |
| 78 | 83 |
| 79 #if !COMPILER(CLANG) | 84 #if !COMPILER(CLANG) |
| 80 #define WTF_COMPILER_SUPPORTS_CXX_OVERRIDE_CONTROL 1 | 85 #define WTF_COMPILER_SUPPORTS_CXX_OVERRIDE_CONTROL 1 |
| 81 #define WTF_COMPILER_QUIRK_FINAL_IS_CALLED_SEALED 1 | 86 #define WTF_COMPILER_QUIRK_FINAL_IS_CALLED_SEALED 1 |
| 82 #endif | 87 #endif |
| 83 | 88 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 248 #define OBJC_CLASS class | 253 #define OBJC_CLASS class |
| 249 #endif | 254 #endif |
| 250 #endif | 255 #endif |
| 251 | 256 |
| 252 /* ABI */ | 257 /* ABI */ |
| 253 #if defined(__ARM_EABI__) || defined(__EABI__) | 258 #if defined(__ARM_EABI__) || defined(__EABI__) |
| 254 #define WTF_COMPILER_SUPPORTS_EABI 1 | 259 #define WTF_COMPILER_SUPPORTS_EABI 1 |
| 255 #endif | 260 #endif |
| 256 | 261 |
| 257 #endif /* WTF_Compiler_h */ | 262 #endif /* WTF_Compiler_h */ |
| OLD | NEW |