OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * Copyright (C) 2008-2010, Google, International Business Machines Corporation | 3 * Copyright (C) 2008-2010, Google, International Business Machines Corporation |
4 * and others. All Rights Reserved. | 4 * and 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/tmutfmt.h" | 14 #include "unicode/tmutfmt.h" |
11 | 15 |
12 #if !UCONFIG_NO_FORMATTING | 16 #if !UCONFIG_NO_FORMATTING |
13 | 17 |
14 #include "cmemory.h" | 18 #include "cmemory.h" |
15 #include "cstring.h" | 19 #include "cstring.h" |
16 #include "hash.h" | 20 #include "hash.h" |
17 #include "uresimp.h" | 21 #include "uresimp.h" |
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 return gTimeUnitSecond; | 869 return gTimeUnitSecond; |
866 default: | 870 default: |
867 status = U_ILLEGAL_ARGUMENT_ERROR; | 871 status = U_ILLEGAL_ARGUMENT_ERROR; |
868 return NULL; | 872 return NULL; |
869 } | 873 } |
870 } | 874 } |
871 | 875 |
872 U_NAMESPACE_END | 876 U_NAMESPACE_END |
873 | 877 |
874 #endif | 878 #endif |
OLD | NEW |