mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix unresolved symbol to icu::DateInterval
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include <io.h>
|
||||
|
||||
#define U_I18N_IMPLEMENTATION
|
||||
#define U_COMMON_IMPLEMENTATION
|
||||
#define U_COMBINED_IMPLEMENTATION
|
||||
|
||||
#include "third_party/icu/source/common/unicode/ubidi.h"
|
||||
#include "third_party/icu/source/common/unicode/uchar.h"
|
||||
@@ -61,6 +63,7 @@ void ReferenceSymbols() {
|
||||
UMeasureFormatWidth width = UMEASFMT_WIDTH_WIDE;
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
icu::MeasureFormat format(icu::Locale::getRoot(), width, status);
|
||||
icu::DateInterval internal(0, 0);
|
||||
icu::DateIntervalFormat::createInstance(UnicodeString(),
|
||||
icu::Locale::getRoot(), status);
|
||||
reinterpret_cast<icu::Transliterator*>(nullptr)->clone();
|
||||
|
||||
Reference in New Issue
Block a user