OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 * | 19 * |
20 */ | 20 */ |
21 | 21 |
22 #ifndef TypeTraits_h | 22 #ifndef TypeTraits_h |
23 #define TypeTraits_h | 23 #define TypeTraits_h |
24 | 24 |
| 25 #include "wtf/Platform.h" |
| 26 |
25 #if (defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIME
NTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600)) | 27 #if (defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIME
NTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600)) |
26 #include <type_traits> | 28 #include <type_traits> |
27 #if defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMEN
TAL_CXX0X__) | 29 #if defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMEN
TAL_CXX0X__) |
28 #include <tr1/memory> | 30 #include <tr1/memory> |
29 #endif | 31 #endif |
30 #endif | 32 #endif |
31 | 33 |
32 namespace WTF { | 34 namespace WTF { |
33 | 35 |
34 // The following are provided in this file: | 36 // The following are provided in this file: |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 public: | 302 public: |
301 enum { | 303 enum { |
302 Value = true | 304 Value = true |
303 }; | 305 }; |
304 }; | 306 }; |
305 | 307 |
306 } // namespace WTF | 308 } // namespace WTF |
307 | 309 |
308 | 310 |
309 #endif // TypeTraits_h | 311 #endif // TypeTraits_h |
OLD | NEW |