Bläddra i källkod

* Do not define UNICODE by default, only in Uregexpr

Michaël Van Canneyt 3 år sedan
förälder
incheckning
6dfc0c4bae
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      packages/regexpr/src/regexpr.pas

+ 1 - 1
packages/regexpr/src/regexpr.pas

@@ -74,7 +74,7 @@ interface
 {$INLINE ON}
 {$DEFINE COMPAT}
 // ======== Define options for TRegExpr engine
-{$DEFINE Unicode} // Use WideChar for characters and UnicodeString/WideString for strings
+{ $DEFINE Unicode} // Use WideChar for characters and UnicodeString/WideString for strings
 { off $DEFINE UnicodeEx} // Support Unicode >0xFFFF, e.g. emoji, e.g. "." must find 2 WideChars of 1 emoji
 {$DEFINE UseWordChars} // Use WordChars property, otherwise fixed list 'a'..'z','A'..'Z','0'..'9','_'
 {$DEFINE UseSpaceChars} // Use SpaceChars property, otherwise fixed list