OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * Copyright (C) 1996-2010, International Business Machines | 3 * Copyright (C) 1996-2010, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation 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/utypes.h" | 14 #include "unicode/utypes.h" |
11 | 15 |
12 #if !UCONFIG_NO_FORMATTING | 16 #if !UCONFIG_NO_FORMATTING |
13 | 17 |
14 #include "unicode/ucal.h" | 18 #include "unicode/ucal.h" |
15 #include "unicode/uloc.h" | 19 #include "unicode/uloc.h" |
16 #include "unicode/calendar.h" | 20 #include "unicode/calendar.h" |
17 #include "unicode/timezone.h" | 21 #include "unicode/timezone.h" |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 ulist_deleteList(values); | 682 ulist_deleteList(values); |
679 return NULL; | 683 return NULL; |
680 } | 684 } |
681 ulist_resetList(values); | 685 ulist_resetList(values); |
682 memcpy(en, &defaultKeywordValues, sizeof(UEnumeration)); | 686 memcpy(en, &defaultKeywordValues, sizeof(UEnumeration)); |
683 en->context = values; | 687 en->context = values; |
684 return en; | 688 return en; |
685 } | 689 } |
686 | 690 |
687 #endif /* #if !UCONFIG_NO_FORMATTING */ | 691 #endif /* #if !UCONFIG_NO_FORMATTING */ |
OLD | NEW |