mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix compilation with ICU 68.
This commit is contained in:
parent
ae90743153
commit
06fa7792a5
1 changed files with 11 additions and 0 deletions
|
@ -2,6 +2,17 @@
|
|||
#import <Foundation/NSException.h>
|
||||
#include <unicode/utext.h>
|
||||
|
||||
/*
|
||||
* Define TRUE/FALSE to be used with UBool parameters, as these are no longer
|
||||
* defined in ICU as of ICU 68.
|
||||
*/
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Initialises a UText structure with an NSString. If txt is NULL, then this
|
||||
* allocates a new structure on the heap, otherwise it fills in the existing
|
||||
|
|
Loading…
Reference in a new issue