aboutsummaryrefslogtreecommitdiffstats
path: root/regenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'regenc.h')
-rw-r--r--regenc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/regenc.h b/regenc.h
index c1d705b01a..9705621436 100644
--- a/regenc.h
+++ b/regenc.h
@@ -96,11 +96,12 @@ typedef struct {
typedef struct {
- UChar *name;
+ const UChar *name;
int ctype;
short int len;
} PosixBracketEntryType;
+#define PosixBracketEntryInit(name, ctype) {(const UChar *)name, ctype, (short int)(sizeof(name) - 1)}
/* #define USE_CRNL_AS_LINE_TERMINATOR */
#define USE_UNICODE_PROPERTIES