mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Add support for using ICU DLL from Windows 10
Requires Windows 10 version 1903 (May 2019 Update): https://docs.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu- Also adds missing configure check for unicode/utext.h.
This commit is contained in:
parent
cf2dae1e21
commit
dc32970502
14 changed files with 158 additions and 34 deletions
|
@ -1,6 +1,16 @@
|
|||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSException.h>
|
||||
|
||||
#if defined(HAVE_UNICODE_UTEXT_H)
|
||||
#include <unicode/utext.h>
|
||||
#endif
|
||||
#if defined(HAVE_ICU_H)
|
||||
#include <icu.h>
|
||||
// icu.h in Windows 10 is missing a declaration of UTEXT_MAGIC
|
||||
#ifndef UTEXT_MAGIC
|
||||
#define UTEXT_MAGIC 0x345ad82c
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Define TRUE/FALSE to be used with UBool parameters, as these are no longer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue