OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * Copyright (C) 2008-2010, Google, International Business Machines Corporation
and | 3 * Copyright (C) 2008-2010, Google, International Business Machines Corporation
and |
4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
5 ******************************************************************************* | 5 ******************************************************************************* |
6 */ | 6 */ |
7 | 7 |
| 8 #if defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS |
| 9 #include <exception> |
| 10 using std::exception; |
| 11 #endif |
8 #include <typeinfo> // for 'typeid' to work | 12 #include <typeinfo> // for 'typeid' to work |
9 | 13 |
10 #include "unicode/tmunit.h" | 14 #include "unicode/tmunit.h" |
11 | 15 |
12 #if !UCONFIG_NO_FORMATTING | 16 #if !UCONFIG_NO_FORMATTING |
13 | 17 |
14 U_NAMESPACE_BEGIN | 18 U_NAMESPACE_BEGIN |
15 | 19 |
16 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeUnit) | 20 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeUnit) |
17 | 21 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 } | 112 } |
109 | 113 |
110 | 114 |
111 TimeUnit::~TimeUnit() { | 115 TimeUnit::~TimeUnit() { |
112 } | 116 } |
113 | 117 |
114 | 118 |
115 U_NAMESPACE_END | 119 U_NAMESPACE_END |
116 | 120 |
117 #endif | 121 #endif |
OLD | NEW |